Difference between revisions of "Showsave"

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

Revision as of 11:19, 4 October 2013

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, used in Special - Browser Script type custom 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 in the sbfunc:

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

See Also

Hidesave