%{
}%
%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;
});
%{
}%