use exists

This commit is contained in:
Jörn Friedrich Dreyer 2013-09-17 19:11:18 +02:00
parent b59ce403d8
commit 86c4c83b86
1 changed files with 1 additions and 1 deletions

View File

@ -373,7 +373,7 @@ $(document).ready(function() {
}
};
if ( document.getElementById('data-upload-form') ) {
if ( $('#file_upload_start').exists() ) {
// initialize jquery fileupload (blueimp)
var fileupload = $('#file_upload_start').fileupload(file_upload_param);
window.file_upload_param = fileupload;