Commit cb45c49 1 parent 3169b3a commit cb45c49 Copy full SHA for cb45c49
File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 1243
1243
quickreply . style . initPreview ( ) ;
1244
1244
1245
1245
quickreply . $ . mainForm . attr ( 'data-ajax' , 'qr_ajax_submit' ) . submit ( function ( ) {
1246
+ quickreply . loading . start ( ) ;
1247
+
1246
1248
var action = $ ( this ) . attr ( 'action' ) , urlHash = action . indexOf ( '#' ) ;
1247
1249
if ( urlHash > - 1 ) {
1248
1250
$ ( this ) . attr ( 'action' , action . substr ( 0 , urlHash ) ) ;
1268
1270
} ) . attr ( 'data-overlay' , false ) ;
1269
1271
1270
1272
quickreply . $ . mainForm . find ( ':submit' ) . click ( function ( e ) {
1271
- quickreply . loading . start ( ) ;
1272
-
1273
1273
if ( quickreply . form . checkAttachments ( ) ) {
1274
1274
e . preventDefault ( ) ;
1275
1275
1276
+ quickreply . loading . start ( ) ;
1276
1277
quickreply . loading . setExplain ( quickreply . language . loading . ATTACHMENTS , true ) ;
1278
+
1277
1279
quickreply . $ . mainForm . on ( 'ajax_submit_ready' , function ( ) {
1278
1280
quickreply . $ . mainForm . submit ( ) ;
1279
1281
} ) ;
You can’t perform that action at this time.
0 commit comments