plugins/themeBuilder/client/themeBuilder.js
function saveFileChanges(themeId, folderName, fileName, text) {
        io({
            url:getURL("save") + "/" + themeId + "/" + folderName + "/" + fileName,
            data:{
                content:encodeURI(text)
            },
            callback:function (isSuccess, message, response) {
                if (!isSuccess) {
                    showErrorMsg(message);
                }
            }
        });
    }
function saveFileChanges(themeId, folderName, fileName, text) {
        io({
            url:getURL("save") + "/" + themeId + "/" + folderName + "/" + fileName,
            data:{
                content:encodeURI(text)
            },
            callback:function (isSuccess, message, response) {
                if (!isSuccess) {
                    showErrorMsg(message);
                }
            }
        });
    }
function saveFileChanges ( themeId , folderName , fileName , text ) { io ( { url : getURL ( "save" ) + "/" + themeId + "/" + folderName + "/" + fileName , data : { content : encodeURI ( text ) } , callback : function ( isSuccess , message , response ) { if ( ! isSuccess ) { showErrorMsg ( message ) ; } } } ) ; }
Handler for save file changes
@param {String} themeId
@param {String} folderName
@param {String} fileName
@param {String} text
Handler for save file changes