At the moment if you haven’t changed any fields on a specific page, the save button is greyed out until you have. I am currently using some javascript to change the fields values, and MODx doesn’t register this as a change to the field and the save button remains disabled. Is there a way of making the save button constantly enabled, in order to get around this problem?
If you’re using the js in a plugin or sth like that you can mark your code as "dirty". Otherwise it’s not possible currently I think.
Thanks smooth-graphics,
Would you be able to tell me how to mark my code as "dirty"?
MODx.fireResourceFormChange();
shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect |
github |
splittingred.com