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>
94
94
</ label >
95
95
96
96
< 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 >
98
97
</ form >
Original file line number Diff line number Diff line change @@ -341,20 +341,6 @@ can.Control('Builder', {
341
341
} else {
342
342
button . attr ( 'disabled' , true ) . addClass ( 'disabled' ) ;
343
343
}
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 ( ) ;
358
344
}
359
345
} ) ;
360
346
You can’t perform that action at this time.
0 commit comments