- Created separate MoneyFlix project directory - Copied Node.js redirector from production server - Added CRM PHP code (Redirects module, Core classes, Config, Routes, Views) - Created comprehensive documentation (README_MONEYFLIX.md) - Added sync script to keep CRM code updated (sync-from-crm.sh) - Configured .gitignore for Node.js and PHP - Set up proper project structure for multi-client isolation This separates MoneyFlix from the main CRM to avoid confusion between different client systems and provides a dedicated environment for MoneyFlix-specific development and maintenance.
32 lines
1016 B
JavaScript
32 lines
1016 B
JavaScript
(function (global, factory) {
|
|
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
|
typeof define === 'function' && define.amd ? define(factory) :
|
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.labelPlugin = factory());
|
|
}(this, (function () { 'use strict';
|
|
|
|
function labelPlugin() {
|
|
return function (fp) {
|
|
return {
|
|
onReady: function () {
|
|
var id = fp.input.id;
|
|
if (!id) {
|
|
return;
|
|
}
|
|
if (fp.mobileInput) {
|
|
fp.input.removeAttribute("id");
|
|
fp.mobileInput.id = id;
|
|
}
|
|
else if (fp.altInput) {
|
|
fp.input.removeAttribute("id");
|
|
fp.altInput.id = id;
|
|
}
|
|
fp.loadedPlugins.push("labelPlugin");
|
|
},
|
|
};
|
|
};
|
|
}
|
|
|
|
return labelPlugin;
|
|
|
|
})));
|