Merge branch 'master' into 'tsj_task'
# Conflicts: # module/doc/view/lefttree.html.php
This commit is contained in:
@@ -543,7 +543,8 @@ $(function()
|
||||
$rootDom.after($input);
|
||||
$li.addClass('open in has-list');
|
||||
}
|
||||
$rootDom.parent().find('input').focus();
|
||||
$input = $rootDom.parent().find('input');
|
||||
$input.focus();
|
||||
break;
|
||||
case 'addCataBro' :
|
||||
moduleData.createType = 'same';
|
||||
@@ -551,7 +552,8 @@ $(function()
|
||||
var $rootDom = $('#fileTree li[data-id=' + item.id + ']');
|
||||
$rootDom.after($input);
|
||||
$rootDom.closest('ul').find('.has-input').css('padding-left', '0');
|
||||
$('#fileTree').find('input').addClass('input-bro').focus();
|
||||
$input = $('#fileTree').find('input').addClass('input-bro');
|
||||
$input.focus();
|
||||
break;
|
||||
case 'addCataChild' :
|
||||
moduleData.parentID = item.id;
|
||||
@@ -569,9 +571,9 @@ $(function()
|
||||
moduleData.isUpdate = true;
|
||||
$rootDom.addClass('open in has-list');
|
||||
}
|
||||
|
||||
$rootDom.append($input);
|
||||
$rootDom.find('input').focus();
|
||||
$input = $rootDom.find('input');
|
||||
$input.focus();
|
||||
break;
|
||||
}
|
||||
}).on('click', '#versionSwitcher a', function()
|
||||
|
||||
Reference in New Issue
Block a user