mediawiki-extensions-Visual.../modules/es
Roan Kattouw 6832be68ed Fix test #30: was failing because getScope() was broken and insert() didn't account for the case of inserting something like </list><list> at a structural offset. All tests are now passing, yay!
* Fix getScope()
** Drop the -1 which caused the result to be off by one level
** Prevent JS errors from occurring if bad input causes the loop to try to traverse up above the root node
* insert()
** Detect the case where the input data tries to close the containing element; in that case, we'll get scope != node
** Move the getNodeFromOffset() and getScope() calls up and out of the conditionals
** Remove unnecessary parent==model conditional, no longer needed now that getScope() can safely handle things that try to traverse too far up
** Add some comments to explain what's going on. I'll restructure this function a bit more shortly
2012-01-31 16:43:21 +00:00
..
bases Moved return false to inside the condition for escape key 2011-12-09 23:15:27 +00:00
images Updated icons (includes new help icon) 2011-12-13 17:39:36 +00:00
inspectors Followup r105634; use the label "Edit link" for link inspector 2011-12-10 08:09:42 +00:00
models Fix test #30: was failing because getScope() was broken and insert() didn't account for the case of inserting something like </list><list> at a structural offset. All tests are now passing, yay! 2012-01-31 16:43:21 +00:00
serializers Fixed wikitext serailizer - extra newlines should be after the list not the list item 2011-12-07 23:35:11 +00:00
styles w/s 2012-01-04 17:46:24 +00:00
tools when nothing to undo or redo, grey out appropriate buttons - fix bug #33112, based on patch from ashish.dubey91@gmail.com 2011-12-31 01:44:34 +00:00
views Added autocapitalize="off" attribute to text area input so IOS doesn't capitalize everything. 2011-12-14 18:54:36 +00:00
es.Html.js Moving es.Html back to es/ directory 2011-11-02 23:11:36 +00:00
es.js Made es an explicit global object 2011-12-12 15:31:04 +00:00
es.Position.js Reorganized modules by javascript namespace 2011-11-02 21:31:45 +00:00
es.Range.js undo almost working, still anomalies in selects (particularly first) 2011-12-07 22:28:07 +00:00
es.TransactionProcessor.js Fix test #30: was failing because getScope() was broken and insert() didn't account for the case of inserting something like </list><list> at a structural offset. All tests are now passing, yay! 2012-01-31 16:43:21 +00:00