mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 01:47:35 +00:00
chore(dom) add " "
This commit is contained in:
parent
6a9e81980e
commit
7a0a0b18ea
1 changed files with 7 additions and 5 deletions
|
|
@ -1473,13 +1473,15 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog;
|
|||
this.getCurrentData = function(pCallBack, pCurrentFile) {
|
||||
var lParams,
|
||||
lCurrentFile = pCurrentFile ? pCurrentFile : this.getCurrentFile(),
|
||||
lFunc = function(pData) {
|
||||
var lName = DOM.getCurrentName(lCurrentFile);
|
||||
if ( Util.isObject(pData) ) {
|
||||
|
||||
lFunc = function(pData) {
|
||||
var lExt = '.json',
|
||||
lName = DOM.getCurrentName(lCurrentFile);
|
||||
|
||||
if (Util.isObject(pData)) {
|
||||
pData = Util.stringifyJSON(pData);
|
||||
|
||||
var lExt = '.json';
|
||||
if ( !Util.checkExtension(lName, lExt) )
|
||||
if (!Util.checkExtension(lName, lExt))
|
||||
lName += lExt;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue