adjustment

This commit is contained in:
2023-04-21 17:17:56 +08:00
parent c4316e7e52
commit 222ca43afb
23 changed files with 341 additions and 293 deletions

View File

@ -20,7 +20,7 @@ class Contact {
input.maxLength = 200;
input.autocomplete = 'off';
});
const preferences = new Dropdown({ tabindex: tabIndex + 2 });
const preferences = new Dropdown({ tabIndex: tabIndex + 2 });
preferences.source = [
{ value: '0', text: r('text', 'Text') },
{ value: '1', text: r('email', 'Email') },
@ -40,7 +40,7 @@ class Contact {
input.maxLength = 50;
input.autocomplete = 'off';
});
const checkOpt = createCheckbox({ tabindex: tabIndex + 5 });
const checkOpt = createCheckbox({ tabIndex: tabIndex + 5 });
const contactNotes = createElement('textarea', txt => {
txt.className = 'ui-text';
txt.tabIndex = tabIndex + 6;
@ -51,7 +51,7 @@ class Contact {
if (this.#option.company) {
buttons.push({
text: c == null ? r('addContactRecord', 'Add Contact Record') : r('editContactRecord', 'Edit Contact Record'),
// tabindex: tabIndex + 7,
// tabIndex: tabIndex + 7,
trigger: () => {
const item = this.prepare();
if (item == null) {
@ -67,7 +67,7 @@ class Contact {
buttons.push(
{
text: r('workOrderOnly', 'Work Order Only'),
// tabindex: tabIndex + 8,
// tabIndex: tabIndex + 8,
trigger: () => {
const item = this.prepare();
if (item == null) {
@ -82,7 +82,7 @@ class Contact {
},
{
text: r('cancel', 'Cancel'),
// tabindex: tabIndex + 9
// tabIndex: tabIndex + 9
}
);
const popup = createPopup(