Main Upload Modal Fix
This commit is contained in:
@@ -128,7 +128,7 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
<center>
|
<center>
|
||||||
<button type="button" class="btn bg-indigo waves-effect" id="main-upload-button" data-toggle="modal" data-target="#defaultModal">
|
<button type="button" class="btn bg-indigo waves-effect" id="main-upload-button">
|
||||||
<i class="material-icons">cloud_upload</i>
|
<i class="material-icons">cloud_upload</i>
|
||||||
<span>Upload to ethoFS</span>
|
<span>Upload to ethoFS</span>
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
@@ -1431,6 +1431,8 @@ $(document).on("render_uploads", function () {
|
|||||||
});
|
});
|
||||||
|
|
||||||
$(document).on("click", "#main-upload-button", function (event) {
|
$(document).on("click", "#main-upload-button", function (event) {
|
||||||
|
$('#defaultModal').iziModal();
|
||||||
|
$('#defaultModal').iziModal('open');
|
||||||
EthoUploads.resetUploadProcess();
|
EthoUploads.resetUploadProcess();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user