A coworker copied an ai2html-settings text box to create an ai2html-css text box, and edited its contents to include css instead of settings. The script injected cache_bust_token: XX into his ai2html-css block from then on, because the css text box's name was also ai2html-settings. (The function updateSettingsEntry looks up the text boxes by their name, assuming there will be only one with the name ai2html-settings.
This tweak prevents that scenario by resetting the name of text boxes that do not contain ai2html settings.
A coworker copied an
ai2html-settings
text box to create anai2html-css
text box, and edited its contents to include css instead of settings. The script injectedcache_bust_token: XX
into hisai2html-css
block from then on, because the css text box'sname
was alsoai2html-settings
. (The functionupdateSettingsEntry
looks up the text boxes by their name, assuming there will be only one with the nameai2html-settings
.This tweak prevents that scenario by resetting the name of text boxes that do not contain ai2html settings.