Commit 209811be authored by molnarl's avatar molnarl

[FIX] Fixed wiki homepage object selector with namespace...

[FIX] Fixed wiki homepage object selector with namespace https://dev.tiki.org/tiki-view_tracker_item.php?itemId=6103
parent 92b72635
......@@ -2384,7 +2384,14 @@ $.fn.tiki = function(func, type, options) {
$(input).change(function () {
var val = $(this).val(), id = null;
if (val) {
id = val.split(':')[1];
var splitarray = val.split(':');
id = splitarray[1];
if(splitarray.length > 2){
for(var i = 2; i < splitarray.length; i++)
{
id = id + ':' + splitarray[i];
}
}
}
if ($simple.val() != id) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment