Difference between revisions of "Showsave"
From SmartWiki
Line 1: | Line 1: | ||
{{UnderConstruction}} | {{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.<br /> | 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.<br /> | ||
− | It can be placed in the savefunc() or the sbfunc() functions.<br /> | + | It can be placed in the savefunc() or the sbfunc() functions, used in [Custom Field Type: Special – Browser Script|Special - Browser Script] type custum field.<br /> |
<pre> | <pre> | ||
function sbfunc(){<br /> | function sbfunc(){<br /> |
Revision as of 10:28, 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, used in [Custom Field Type: Special – Browser Script|Special - Browser Script] type custum field.
function sbfunc(){<br /> showsave();<br /> return true;<br /> }
The function takes one optional parameter, the message to be shown.