chore(dom) add " "

This commit is contained in:
coderaiser 2013-11-19 10:21:49 +00:00
parent 6a9e81980e
commit 7a0a0b18ea

View file

@ -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;
}