During my daily work, I have noticed that the admins of some Magento stores are experiencing problems when they have to work with attributes of type “Multiple Select” and “Dropdown”, which have many options (for example more than one thousand options). When they pressed the save button in the admin area, after they edited an attribute, their browser crashed.
Some people wrote about the problem here:
I created an extension you can install and try in your Magento stores. The extension works well if you have added new options to an attribute which already has many saved options. If you are just creating new attribute and you added thousands of options, then you will experience the problem, but for example if you save the attribute options on small chunks, e.g. 500 options at a time, then everything should be fine.
You can download the extension from here: https://github.com/Jarlssen/Jarlssen_FasterAttributeOptionEdit
More details (for developers):
All the logic for the fix is placed in a template file: jarlssen/faster_attribute_option_edit/options-fix.phtml
I had to rewrite Mage_Adminhtml_Block_Catalog_Product_Attribute_Edit_Tab_Options to replace the original options template file with mine.
Instead of creating input fields for all existing options I used placeholders faking the inputs. When we click on any of the placeholders the placeholder is replaced with real option inputs (using DOM manipulations).
There are some styles in the bottom of jarlssen/faster_attribute_option_edit/options-fix.phtml, because I didn’t want to add more external files. Also I had to fake the checkboxes and radio buttons – I created an element using base64 encoded images of checkboxes and radio buttons as a background-image.
Hope this helps!
Proof reading by Oliver Baumann.