Link opens the standard picker under the button instead of a window - linked records ticked, tick to link and untick to unlink, saved when the picker closes with one message - for every record link, contact and asset credentials, a contact's assets, project and service tickets, a ticket's services and related tickets, with a document's or file's Link grouped by kind and quick looks reloading in place; the old link windows and the handlers only they used are removed

This commit is contained in:
johnnyq
2026-11-20 18:23:48 -05:00
parent c1bdc99c14
commit 8ac88a48fd
54 changed files with 837 additions and 1252 deletions

View File

@@ -29,7 +29,6 @@
if (window.itflowTabFold) {
return;
}
window.itflowTabFold = true;
var FOLDED = 'itflow-tab-folded';
var BARS = '.nav.itflow-asset-tabs, .itflow-asset-tabs > .nav, .nav.itflow-asset-pills, .nav.itflow-asset-form-tabs, .nav.itflow-tabs-foldable';
@@ -208,6 +207,9 @@
});
}
// Also for content drawn again in place (a window loaded again - js/link_picker.js)
window.itflowTabFold = init;
if (document.readyState === 'loading') {
document.addEventListener('DOMContentLoaded', init);
} else {