mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-01 08:12:17 +09:00
Disable install button when installation is already in progress
This commit is contained in:
parent
5a7906252e
commit
2a0396f230
4 changed files with 9 additions and 1 deletions
|
|
@ -37,4 +37,10 @@ jQuery(function($){
|
|||
}
|
||||
});
|
||||
}
|
||||
if($("#task-complete-install").size()) {
|
||||
$("#task-complete-install").click(function() {
|
||||
$("#task-complete-install").text($("#task-complete-install").data("installing"));
|
||||
$("#task-complete-install").prop("disabled", true);
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@
|
|||
<a href="{getUrl('', 'act','dispInstallDBConfig')}" class="button grey">« {$lang->cmd_back}</a>
|
||||
</div>
|
||||
<div class="align-right">
|
||||
<button type="submit" id="task-done" value="">{$lang->cmd_complete} »</button>
|
||||
<button type="submit" id="task-complete-install" value="" data-installing="{$lang->msg_installing}">{$lang->cmd_complete} »</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue