Fix(JS): Commands page and Dog Command Links page fix on dirty triggering and new row default values.
This commit is contained in:
8
static/dist/js/main.bundle.js
vendored
8
static/dist/js/main.bundle.js
vendored
@@ -2590,7 +2590,7 @@ var PageDogCommands = /*#__PURE__*/function (_TableBasePage) {
|
||||
key: "postInitialiseRowNewCallback",
|
||||
value: function postInitialiseRowNewCallback(tbody) {
|
||||
var newRows = tbody.querySelectorAll('tr.' + flagRowNew);
|
||||
var newestRow = newRows[newRows.length - 1];
|
||||
var newestRow = newRows[0];
|
||||
var clickableElementsSelector = ['td.' + flagDog + ' div.' + flagDog, ',td.' + flagCommandCategory + ' div.' + flagCommandCategory, ',td.' + flagCommand + ' div.' + flagCommand].join('');
|
||||
newestRow.querySelectorAll(clickableElementsSelector).forEach(function (clickableElement) {
|
||||
clickableElement.click();
|
||||
@@ -2615,12 +2615,12 @@ var PageDogCommands = /*#__PURE__*/function (_TableBasePage) {
|
||||
}, {
|
||||
key: "hookupTextareasHandSignalDefaultDescription",
|
||||
value: function hookupTextareasHandSignalDefaultDescription() {
|
||||
this.hookupChangeHandlerTableCells(idTableMain + ' td.' + flagHandSignalDefaultDescription + ' textarea');
|
||||
this.hookupChangeHandlerTableCells(idTableMain + ' td.' + flagHandSignalDefaultDescription + ' .' + flagHandSignalDefaultDescription);
|
||||
}
|
||||
}, {
|
||||
key: "hookupFieldsCanHaveButton",
|
||||
value: function hookupFieldsCanHaveButton() {
|
||||
this.hookupChangeHandlerTableCells(idTableMain + ' td.' + flagCanHaveButton + ' input');
|
||||
this.hookupChangeHandlerTableCells(idTableMain + ' td.' + flagCanHaveButton + ' .' + flagCanHaveButton);
|
||||
}
|
||||
}, {
|
||||
key: "leave",
|
||||
@@ -2733,7 +2733,7 @@ var PageDogDogCommandLinks = /*#__PURE__*/function (_TableBasePage) {
|
||||
}, {
|
||||
key: "hookupTextareasHandSignalDescription",
|
||||
value: function hookupTextareasHandSignalDescription() {
|
||||
this.hookupChangeHandlerTableCells(idTableMain + ' td.' + flagHandSignalDescription + ' textarea');
|
||||
this.hookupChangeHandlerTableCells(idTableMain + ' td.' + flagHandSignalDescription + ' .' + flagHandSignalDescription);
|
||||
}
|
||||
}, {
|
||||
key: "leave",
|
||||
|
||||
2
static/dist/js/main.bundle.js.map
vendored
2
static/dist/js/main.bundle.js.map
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user