| 1 | Index: common.dev.js |
|---|
| 2 | =================================================================== |
|---|
| 3 | --- common.dev.js (revision 20805) |
|---|
| 4 | +++ common.dev.js (working copy) |
|---|
| 5 | @@ -353,6 +353,15 @@ |
|---|
| 6 | pageInput.val('1'); |
|---|
| 7 | }); |
|---|
| 8 | } |
|---|
| 9 | + |
|---|
| 10 | + if($("#import-upload-form #upload").length){ |
|---|
| 11 | + $("#import-upload-form input:submit").attr("disabled","disabled"); |
|---|
| 12 | + $("#import-upload-form #upload").change(function(){ |
|---|
| 13 | + if($(this).val().length > 0 ){ |
|---|
| 14 | + $("#import-upload-form input:submit").removeAttr("disabled"); |
|---|
| 15 | + } |
|---|
| 16 | + }); |
|---|
| 17 | + } |
|---|
| 18 | |
|---|
| 19 | }); |
|---|
| 20 | |
|---|