Last modified: 2014-04-08 09:01:34 UTC
Created attachment 7426 [details] new section code based on the example from http://usability.wikimedia.org/wiki/Toolbar_customization Not sure if filled this report before, but I was unable to find a similar thing... Steps: 1. Use code in the attachment to add a new section to the new toolbar. 2. Edit an article. 3. Open the section. 4. Refresh the page. Expected result: Remember the opened section with the textarea fully visible Actual result: Part of the textarea is not visible. This seems to be due to the fact that it has height set to 1px. I've made a workaround but it's kinda rough: var gadgets_sec = getElementsByClassName(nbar, "div", "section-gadgets")[0]; setTimeout(function(){ if (gadgets_sec.clientHeight>2) { gadgets_sec.parentNode.style.height = (gadgets_sec.clientHeight+1) + 'px'; } }, 1000); Well maybe it's more then rough ;-). Especially because with previous version of Vector it used to work with 100ms timeout and now I had to set it up to 1s.
Unassigning default assignments. http://article.gmane.org/gmane.science.linguistics.wikipedia.technical/54734
*** This bug has been marked as a duplicate of bug 37392 ***