Disable reset active file for user defined files

This commit is contained in:
Sebastian Serth
2020-02-02 12:36:20 +01:00
parent 67e9fd60c1
commit f07cad4da5

View File

@ -488,6 +488,7 @@ configureEditors: function () {
toggleButtonStates: function () {
$('#destroy-file').prop('disabled', this.active_frame.data('role') !== 'user_defined_file');
$('#start-over-active-file').prop('disabled', this.active_frame.data('role') === 'user_defined_file');
$('#dummy').toggle(!this.fileActionsAvailable());
$('#render').toggle(this.isActiveFileRenderable());
$('#run').toggle(this.isActiveFileRunnable() && !this.running);