File tree Expand file tree Collapse file tree 2 files changed +0
-15
lines changed
Expand file tree Collapse file tree 2 files changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -94,5 +94,4 @@ <h4><a href="#events">EVENTS</a> - listen to special events with:</h4>
9494 </ label >
9595
9696 < button class ="button disabled " disabled ="disabled " type ="submit "> Download</ button >
97- < p class ="loading " style ="display: none; "> < img src ="images/loader.gif " alt ="loader " /> Please wait while we generate your download</ p >
9897</ form >
Original file line number Diff line number Diff line change @@ -341,20 +341,6 @@ can.Control('Builder', {
341341 } else {
342342 button . attr ( 'disabled' , true ) . addClass ( 'disabled' ) ;
343343 }
344- } ,
345-
346- '[type="submit"] click' : function ( el , ev ) {
347- el . hide ( ) ;
348- var url = this . element . attr ( 'action' ) + '?' + this . element . serialize ( ) ,
349- iframe = $ ( '<iframe></iframe>' ) . attr ( 'src' , url ) . hide ( ) . appendTo ( this . element ) ;
350- loader = this . element . find ( '.loading' ) . show ( ) ;
351- iframe . on ( 'load' , function ( ) {
352- setTimeout ( function ( ) {
353- el . show ( ) ;
354- loader . hide ( ) ;
355- } , 1000 ) ;
356- } )
357- ev . preventDefault ( ) ;
358344 }
359345} ) ;
360346
You can’t perform that action at this time.
0 commit comments