mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 17:05:17 +00:00
feature(dom) saveDataInCache -> saveDataToCache
This commit is contained in:
parent
1b311f08a4
commit
7f7c82356b
1 changed files with 2 additions and 2 deletions
|
|
@ -1518,7 +1518,7 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog;
|
|||
*/
|
||||
this.saveCurrentData = function(pUrl, pData, pCallBack, pQuery) {
|
||||
RESTful.save(pUrl, pData, function() {
|
||||
DOM.saveDataInCache(pUrl, pData);
|
||||
DOM.saveDataToCache(pUrl, pData);
|
||||
}, pQuery);
|
||||
};
|
||||
|
||||
|
|
@ -1757,7 +1757,7 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog;
|
|||
* @param data
|
||||
* @param callback
|
||||
*/
|
||||
this.saveDataInCache = function(name, data, callback) {
|
||||
this.saveDataToCache = function(name, data, callback) {
|
||||
CloudCmd.getConfig(function(config) {
|
||||
var allowed = config.localStorage;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue