Just want someone else to confirm this - not sure if it’s a bug or a ‘feature’.
I’m using SafeCracker via a AJAX form and I’m getting a decent amount of JS slowing down the page. The JS in question in this request
?ACT=27&ui=core,widget,mouse,position,draggable,resizable,button,dialog&plugin=scrollable,scrollable.navigator,ee_filebrowser,ee_fileuploader,markitup,thickbox,toolbox.expose,overlay,tmpl&v=1331941604&_=1337675962658Now I’m not using any datepickers so I’ve tried to use safecracker_head=“no”
This dramatically speeds up the page and things seems to be fine, however I am using the SafeCracker File in a couple of areas.
It seems that the click handler for the .safecracker_file_remove_button and the .safecracker_file_undo_button isn’t run.
This JS is part of SafeCracker files add_js() method and uses $this->EE->javascript->output();
My question is, when using safecracker_head=“no” should this SafeCracker File JS still run?