* [perf story #49405] Add movedoc ui js.
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
window.changeSpace = function(e)
|
||||
{
|
||||
let selectedSpace = e.target.value;
|
||||
loadModal($.createLink('doc', 'moveDoc', "docID=" + docID + "&libID=0&space=" + selectedSpace));
|
||||
};
|
||||
window.changeLib = function(e)
|
||||
{
|
||||
let selectedLib = e.target.value;
|
||||
loadModal($.createLink('doc', 'moveDoc', "docID=" + docID + "&libID=" + selectedLib + "&space=" + space));
|
||||
};
|
||||
|
||||
window.toggleDocAcl = function(e)
|
||||
{
|
||||
$this = $(e.target);
|
||||
$this.closest('form').find('#whiteListBox').toggleClass('hidden', $(e.target).val() != 'private');
|
||||
};
|
||||
Reference in New Issue
Block a user