Index: branches/1.1.x/platform/inc/script.js =================================================================== diff -u -N -r13088 -r13751 --- branches/1.1.x/platform/inc/script.js (.../script.js) (revision 13088) +++ branches/1.1.x/platform/inc/script.js (.../script.js) (revision 13751) @@ -61,7 +61,7 @@ ItemCategories.prototype.AddCategory = function($separator, $delete_button, $max_categories) { var $category_id = this.CategorySelector.options[this.CategorySelector.selectedIndex].value; - var $category_name = this.CategorySelector.options[this.CategorySelector.selectedIndex].innerHTML.trim(); + var $category_name = this.CategorySelector.options[this.CategorySelector.selectedIndex].getAttribute('full_path'); if ((this.SearchCategory($category_id) !== false) || ($category_id == this.PrimaryCategory) || ($category_id == 0)) { // don't add same category twice & don't allow to add item's primary category @@ -76,13 +76,6 @@ return ; } - // strip trailing HTML spaces & separator - var $separator_pos = $category_name.indexOf($separator); - if ($separator_pos != -1) { - $category_name = $category_name.substring($separator_pos + $separator.length); - } - - var $row = this.CategoryTable.insertRow(-1); $row.id = 'category_' + $category_id; Index: branches/1.1.x/platform/elements/categories.elm.tpl =================================================================== diff -u -N -r13088 -r13751 --- branches/1.1.x/platform/elements/categories.elm.tpl (.../categories.elm.tpl) (revision 13088) +++ branches/1.1.x/platform/elements/categories.elm.tpl (.../categories.elm.tpl) (revision 13751) @@ -63,15 +63,15 @@ - "> - + " onclick="$ItemCategories.DeleteCategory();"/> Index: branches/1.1.x/in-link/elements/html_head.elm.tpl =================================================================== diff -u -N -r13481 -r13751 --- branches/1.1.x/in-link/elements/html_head.elm.tpl (.../html_head.elm.tpl) (revision 13481) +++ branches/1.1.x/in-link/elements/html_head.elm.tpl (.../html_head.elm.tpl) (revision 13751) @@ -2,7 +2,7 @@ - + Index: branches/1.1.x/in-bulletin/elements/side_boxes/polls.elm.tpl =================================================================== diff -u -N -r13088 -r13751 --- branches/1.1.x/in-bulletin/elements/side_boxes/polls.elm.tpl (.../polls.elm.tpl) (revision 13088) +++ branches/1.1.x/in-bulletin/elements/side_boxes/polls.elm.tpl (.../polls.elm.tpl) (revision 13751) @@ -23,7 +23,7 @@
" style="text-align:left; margin-top:10px; margin-bottom:10px"> - +
Index: branches/1.1.x/platform/designs/default_design.des.tpl =================================================================== diff -u -N -r13554 -r13751 --- branches/1.1.x/platform/designs/default_design.des.tpl (.../default_design.des.tpl) (revision 13554) +++ branches/1.1.x/platform/designs/default_design.des.tpl (.../default_design.des.tpl) (revision 13751) @@ -122,7 +122,6 @@
- \ No newline at end of file