Difference between revisions of "Showsave"
From SmartWiki
Line 2: | Line 2: | ||
The '''showsave()''' is a javascript function, which allows you to show the "Save in Progress" animation after the record is saved, in case it would not be shown otherwise. | The '''showsave()''' is a javascript function, which allows you to show the "Save in Progress" animation after the record is saved, in case it would not be shown otherwise. | ||
It can be placed in the savefunc() or the sbfunc() functions. | It can be placed in the savefunc() or the sbfunc() functions. | ||
− | + | <code> | |
+ | function sbfunc(){ | ||
+ | <tab>showsave(); | ||
+ | <tab>return true; | ||
+ | } | ||
+ | </code> | ||
The function takes one optional parameter, the message to be shown. | The function takes one optional parameter, the message to be shown. |
Revision as of 10:23, 4 October 2013
Template:UnderConstruction
The showsave() is a javascript function, which allows you to show the "Save in Progress" animation after the record is saved, in case it would not be shown otherwise.
It can be placed in the savefunc() or the sbfunc() functions.
function sbfunc(){
<tab>showsave();
<tab>return true;
}
The function takes one optional parameter, the message to be shown.