mirror of
https://github.com/humhub/humhub.git
synced 2025-03-15 04:29:45 +01:00
Fix a disabled button after post a content record with state "Draft" or "Scheduled" (#6526)
This commit is contained in:
parent
371cde8e62
commit
7801f8145a
@ -20,6 +20,7 @@ HumHub Changelog
|
||||
- Enh #6498: Implement option "disabled" for picker fields
|
||||
- Enh #6506: Allow event data from module config
|
||||
- Fix #6510: Fix online status position on people page
|
||||
- Fix #6526: Fix a disabled button after post a content record with state "Draft" or "Scheduled"
|
||||
|
||||
1.15.0-beta.1 (July 31, 2023)
|
||||
-----------------------------
|
||||
|
@ -226,7 +226,8 @@ humhub.module('content.form', function(module, require, $) {
|
||||
const initial = stateInput.data('initial');
|
||||
if (initial !== undefined) {
|
||||
stateInput.val(initial.state);
|
||||
button.html(initial.buttonTitle);
|
||||
button.data('htmlOld', initial.buttonTitle).removeAttr('style');
|
||||
loader.reset(button);
|
||||
}
|
||||
this.$.find('input[name^=scheduled]').remove();
|
||||
this.$.find('.label-content-state').hide();
|
||||
|
Loading…
x
Reference in New Issue
Block a user