Subversion Repositories My Stuff

Rev

Rev 9 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
13 kardasa 1
/*#######################################################################
9 kardasa 2
# This script is distributed in the hope that it will be useful,
3
# but WITHOUT ANY WARRANTY; without even the implied warranty of
4
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
5
# GNU General Public License for more details.
6
# Author: Andrzej Kardaś
7
# License: GPLv3
8
# The full version of the licencse can be obtainted by visiting:
9
# http://www.gnu.org/licenses/gpl.html
13 kardasa 10
########################################################################*/
9 kardasa 11
$(document).ready(function(){
12
        var options = {
13
                target: '#sms_form',
14
                success: function() {
15
                        $('#sms_form > #form-indicator').hide();
16
                        $('#sms_form > form').ajaxForm(options);
17
                        },
18
                beforeSubmit: function() {
19
                        $('#sms_form > #form-indicator').show();
20
                }
21
                };
22
                $('#sms_form > form').ajaxForm(options);
23
        });