* Modify api create.
This commit is contained in:
@@ -189,8 +189,6 @@ $(function()
|
||||
});
|
||||
});
|
||||
|
||||
;
|
||||
|
||||
$('body').on('click', function()
|
||||
{
|
||||
$('.dropdown-in-tree').remove();
|
||||
@@ -324,5 +322,12 @@ $(function()
|
||||
}).on('keydown', '.file-tree input.input-tree', function(e)
|
||||
{
|
||||
if(e.keyCode == 13) $(this).trigger('blur');
|
||||
}).on('click', '#mainMenu .btn-toolbar a, .no-content-button a', function()
|
||||
{
|
||||
if(libType == 'api')
|
||||
{
|
||||
$.cookie('objectType', objectType, {expires: config.cookieLife, path: config.webRoot});
|
||||
$.cookie('objectID', objectID, {expires: config.cookieLife, path: config.webRoot});
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
<?php js::set('treeData', $libTree);?>
|
||||
<?php js::set('linkParams', "type=$type&objectID=$objectID%s&browseType=&orderBy=$orderBy");?>
|
||||
<?php js::set('docLang', $lang->doc);?>
|
||||
<?php js::set('libType', $libType);?>
|
||||
<?php js::set('objectType', $type);?>
|
||||
<?php js::set('objectID', $objectID);?>
|
||||
<div id="mainMenu" class="clearfix">
|
||||
|
||||
Reference in New Issue
Block a user