Difference between revisions of "Showsave"

From SmartWiki
Jump to: navigation, search
Line 6: Line 6:
  
 
'''Where''':
 
'''Where''':
* ''msg'' is the message [optional].<br /><br />
+
* ''msg'' is the message [optional] to be shown.<br /><br />
 
'''Examples:'''
 
'''Examples:'''
 
The function called without parameter in the savefunc:
 
The function called without parameter in the savefunc:
Line 16: Line 16:
 
</pre>
 
</pre>
  
The function called with the ''optional parameter'', the '''message''' to be shown:<br />
+
The function called with the ''optional parameter'', the '''message''':<br />
 
<pre>
 
<pre>
 
function sbfunc(){
 
function sbfunc(){

Revision as of 11:13, 4 October 2013

Template:UnderConstruction The showsave() is a 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, used in Special - Browser Script type custum field.

Syntax

showsave([msg]);

Where:

  • msg is the message [optional] to be shown.

Examples: The function called without parameter in the savefunc:

function savefunc(){
	showsave();
	return true;
}

The function called with the optional parameter, the message:

function sbfunc(){
	showsave("Saving Check List");
	return true;
}

See Also

Hidesave