%TMPL:INCLUDE{"Applications.ClassificationApp.ClassifiedTopicEdit"}%

%TMPL:DEF{"firsttab"}%%TMPL:P{"detailstab"}%%TMPL:END%

%TMPL:DEF{"detailstab"}%<!-- -->
%TAB{"%TRANSLATE{"Details"}%"}%
%RENDERFOREDIT{
   exclude="^(TopicType|Category|ImportedCategory|SubCategories)$"
   TopicTitle_title="%TRANSLATE{"Title"}%"
}%
%ENDTAB%
<!-- -->%TMPL:END%

%TMPL:DEF{"formfields"}%<!--  -->
%TMPL:P{"categoriestab"}%
%TMPL:P{"subcategoriestab"}%
%TMPL:P{"notestab"}%<!-- -->
<!--  -->%TMPL:END%

%TMPL:DEF{"notestab"}%<!-- -->
%TAB{"%TRANSLATE{"Notes"}%"}%
%TMPL:P{"textarea"}%
%ENDTAB%
<!-- -->%TMPL:END%

%TMPL:DEF{"subcategoriestab"}%<!-- -->
%TAB{"%TRANSLATE{"Sub-Categories"}%"}%
%RENDERFOREDIT{
   fields="ImportedCategory, SubCategories"
   ImportedCategory_title="%TRANSLATE{"Import"}%"
   SubCategories_title="%TRANSLATE{"Text"}%"
   header="$percntTABPANE{class=\"plain\"}$percnt"
   format="$percntTAB{\"$title\" after=\"jQuery(window).trigger('resize')\"}$percnt
           <div class='foswikiPageForm'>$n$edit$n
            <div class='foswikiFormDescription'>$description</div>
           </div>
           $percntENDTAB$percnt"
   separator="$n"
   footer="$percntENDTABPANE$percnt"
}%%JQREQUIRE{"natedit"}%%ADDTOZONE{"script" 
  text="<script type='text/javascript' src='%PUBURLPATH%/Applications/ClassificationApp/CategoryEditTemplate/category-edit.js'></script>"
  id="CATEGORYEDIT::JS"
  requires="JQUERYPLUGIN::NATEDIT"
}%%ENDTAB%
<!-- -->%TMPL:END%

"use strict";
jQuery(function($) {
   var natedit = $("textarea[name='SubCategories']").natedit({
      autoMaxExpand: true
   }).data("natedit");
   natedit.bottomHeight = 130;
});
Topic attachments
I Attachment Action Size Date Who Comment
category-edit.jsjs category-edit.js manage 181 bytes 02 May 2019 - 09:59 ProjectContributor Generated by AttachContentPlugin
Topic revision: r1 - 02 May 2019, UnknownUser
Warning: Can't find topic Applications/ClassificationApp.WebLeftBarExample

This site is powered by FoswikiCopyright by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding DAMASK? Send feedback
§ Imprint § Data Protection