Lines 23-28
$(document).ready(function(){
Link Here
|
23 |
$('#items').show(); |
23 |
$('#items').show(); |
24 |
} |
24 |
} |
25 |
}); |
25 |
}); |
|
|
26 |
$("#fileuploadbutton").on("click",function(e){ |
27 |
e.preventDefault(); |
28 |
StartUpload(); |
29 |
}); |
30 |
$("#fileuploadcancel").on("click",function(e){ |
31 |
e.preventDefault(); |
32 |
CancelUpload(); |
33 |
}); |
26 |
}); |
34 |
}); |
27 |
function CheckForm(f) { |
35 |
function CheckForm(f) { |
28 |
if ($("#fileToUpload").value == '') { |
36 |
if ($("#fileToUpload").value == '') { |
Lines 137-144
function cbUpload( status, fileid ) {
Link Here
|
137 |
</div> </li> |
145 |
</div> </li> |
138 |
</ol> |
146 |
</ol> |
139 |
<fieldset class="action"> |
147 |
<fieldset class="action"> |
140 |
<button id="fileuploadbutton" onclick="StartUpload(); return false;">Upload file</button> |
148 |
<button id="fileuploadbutton">Upload file</button> |
141 |
<button id="fileuploadcancel" onclick="CancelUpload(); return false;">Cancel</button> |
149 |
<button id="fileuploadcancel">Cancel</button> |
142 |
</fieldset> |
150 |
</fieldset> |
143 |
</fieldset> |
151 |
</fieldset> |
144 |
|
152 |
|
145 |
- |
|
|