mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
minor changes
This commit is contained in:
parent
9d491f4a91
commit
4cf87b4f16
2 changed files with 3 additions and 3 deletions
|
|
@ -591,7 +591,7 @@ CloudClient._createFileTable = function(pElem,pJSON)
|
|||
* from http://domain.com/1.js to
|
||||
* 1_js
|
||||
*/
|
||||
CloudFunc._getIdBySrc = function(pSrc){
|
||||
CloudClient._getIdBySrc = function(pSrc){
|
||||
var lID=pSrc.replace(pSrc.substr(pSrc,
|
||||
pSrc.lastIndexOf('/')+1),
|
||||
'');
|
||||
|
|
@ -621,7 +621,7 @@ CloudClient._anyload = function(pParams_o)
|
|||
var lFunc = pParams_o.func;
|
||||
|
||||
if(!lID){
|
||||
lID = this.getIdBySrc(lSrc);
|
||||
lID = this._getIdBySrc(lSrc);
|
||||
}
|
||||
var element = document.getElementById(lID);
|
||||
/* если скрипт еще не загружен */
|
||||
|
|
|
|||
|
|
@ -110,7 +110,7 @@ CloudCommander.Viewer.FancyBox = {
|
|||
/* removing already loaded element
|
||||
* with same id
|
||||
*/
|
||||
var lId = CloudFunc.getIdBySrc(pSrc);
|
||||
var lId = CloudCommander._getIdBySrc(pSrc);
|
||||
lId = pParent.getById(lId);
|
||||
lId &&
|
||||
document.removeChild(lId);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue