[MediaWiki-commits] [Gerrit] Fixed checkbox insert in IE - change (mediawiki...BlueSpiceExtensions)
Mglaser has uploaded a new change for review. https://gerrit.wikimedia.org/r/195514 Change subject: Fixed checkbox insert in IE .. Fixed checkbox insert in IE In IE, a construct like span id=@@ID@@button //span causes tinymce to forget the id attribute. So using button/button instead, which works. Change-Id: I546c016a962aaf781a9bdf1aa9e82c87c2f77ec5 (cherry picked from commit e3414d2771aa56116bb598e99049a8118102d370) --- M Checklist/resources/bluespice.checklist.js M VisualEditor/resources/tiny_mce_plugins/bswikicode/plugin.js 2 files changed, 10 insertions(+), 5 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/BlueSpiceExtensions refs/changes/14/195514/1 diff --git a/Checklist/resources/bluespice.checklist.js b/Checklist/resources/bluespice.checklist.js index f21f0bc..588f1d0 100644 --- a/Checklist/resources/bluespice.checklist.js +++ b/Checklist/resources/bluespice.checklist.js @@ -95,7 +95,8 @@ } else { innerText += BsChecklist.checkboxImage; } - innerText += '\'); /'; + // Do not use short notation for closing tag (/), as it breaks IE + innerText += '\'); /button'; return innerText; }, @@ -125,7 +126,7 @@ makeAndRegisterCheckboxSpecialTag: function(ed, checked) { var id = ed.plugins.bswikicode.getSpecialTagList().length; - ed.plugins.bswikicode.getSpecialTagList().push('bs:checklist value= /'); + ed.plugins.bswikicode.pushSpecialTagList('bs:checklist value= /'); var node = ed.dom.create( 'span', { @@ -143,7 +144,7 @@ makeAndRegisterSelectboxSpecialTag: function(ed, listname, value) { var id = ed.plugins.bswikicode.getSpecialTagList().length; - ed.plugins.bswikicode.getSpecialTagList().push('bs:checklist type=list value= list='+listname+'/'); + ed.plugins.bswikicode.pushSpecialTagList('bs:checklist type=list value= list='+listname+'/'); var node = ed.dom.create( 'span', { @@ -374,4 +375,4 @@ this.execCommand('mceBsSelectbox', ui, v); } }); -}); \ No newline at end of file +}); diff --git a/VisualEditor/resources/tiny_mce_plugins/bswikicode/plugin.js b/VisualEditor/resources/tiny_mce_plugins/bswikicode/plugin.js index 731ee1b..c0431f1 100644 --- a/VisualEditor/resources/tiny_mce_plugins/bswikicode/plugin.js +++ b/VisualEditor/resources/tiny_mce_plugins/bswikicode/plugin.js @@ -2247,6 +2247,10 @@ return _specialtags; }; + this.pushSpecialTagList = function( item ) { + _specialtags.push( item ); + } + this.getTemplateList = function() { return _templates; }; @@ -2256,4 +2260,4 @@ }; }; -tinymce.PluginManager.add('bswikicode', BsWikiCode); \ No newline at end of file +tinymce.PluginManager.add('bswikicode', BsWikiCode); -- To view, visit https://gerrit.wikimedia.org/r/195514 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I546c016a962aaf781a9bdf1aa9e82c87c2f77ec5 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/BlueSpiceExtensions Gerrit-Branch: REL1_22 Gerrit-Owner: Mglaser gla...@hallowelt.biz ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] Fixed checkbox insert in IE - change (mediawiki...BlueSpiceExtensions)
Mglaser has uploaded a new change for review. https://gerrit.wikimedia.org/r/195513 Change subject: Fixed checkbox insert in IE .. Fixed checkbox insert in IE In IE, a construct like span id=@@ID@@button //span causes tinymce to forget the id attribute. So using button/button instead, which works. Change-Id: I546c016a962aaf781a9bdf1aa9e82c87c2f77ec5 (cherry picked from commit e3414d2771aa56116bb598e99049a8118102d370) --- M Checklist/resources/bluespice.checklist.js M VisualEditor/resources/tiny_mce_plugins/bswikicode/plugin.js 2 files changed, 8 insertions(+), 3 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/BlueSpiceExtensions refs/changes/13/195513/1 diff --git a/Checklist/resources/bluespice.checklist.js b/Checklist/resources/bluespice.checklist.js index a957b26..dad25e6 100644 --- a/Checklist/resources/bluespice.checklist.js +++ b/Checklist/resources/bluespice.checklist.js @@ -101,7 +101,8 @@ } else { innerText += BsChecklist.checkboxImage; } - innerText += '\'); /'; + // Do not use short notation for closing tag (/), as it breaks IE + innerText += '\'); /button'; return innerText; }, @@ -131,7 +132,7 @@ makeAndRegisterCheckboxSpecialTag: function(ed, checked) { var id = ed.plugins.bswikicode.getSpecialTagList().length; - ed.plugins.bswikicode.getSpecialTagList().push('bs:checklist value= /'); + ed.plugins.bswikicode.pushSpecialTagList('bs:checklist value= /'); var node = ed.dom.create( 'span', { @@ -149,7 +150,7 @@ makeAndRegisterSelectboxSpecialTag: function(ed, listname, value) { var id = ed.plugins.bswikicode.getSpecialTagList().length; - ed.plugins.bswikicode.getSpecialTagList().push('bs:checklist type=list value= list='+listname+'/'); + ed.plugins.bswikicode.pushSpecialTagList('bs:checklist type=list value= list='+listname+'/'); var node = ed.dom.create( 'span', { diff --git a/VisualEditor/resources/tiny_mce_plugins/bswikicode/plugin.js b/VisualEditor/resources/tiny_mce_plugins/bswikicode/plugin.js index 04dc148..bdd9dd6 100644 --- a/VisualEditor/resources/tiny_mce_plugins/bswikicode/plugin.js +++ b/VisualEditor/resources/tiny_mce_plugins/bswikicode/plugin.js @@ -2334,6 +2334,10 @@ return _specialtags; }; + this.pushSpecialTagList = function( item ) { + _specialtags.push( item ); + } + this.getTemplateList = function() { return _templates; }; -- To view, visit https://gerrit.wikimedia.org/r/195513 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I546c016a962aaf781a9bdf1aa9e82c87c2f77ec5 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/BlueSpiceExtensions Gerrit-Branch: REL1_23 Gerrit-Owner: Mglaser gla...@hallowelt.biz ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] Fixed checkbox insert in IE - change (mediawiki...BlueSpiceExtensions)
jenkins-bot has submitted this change and it was merged. Change subject: Fixed checkbox insert in IE .. Fixed checkbox insert in IE In IE, a construct like span id=@@ID@@button //span causes tinymce to forget the id attribute. So using button/button instead, which works. Change-Id: I546c016a962aaf781a9bdf1aa9e82c87c2f77ec5 (cherry picked from commit e3414d2771aa56116bb598e99049a8118102d370) --- M Checklist/resources/bluespice.checklist.js M VisualEditor/resources/tiny_mce_plugins/bswikicode/plugin.js 2 files changed, 8 insertions(+), 3 deletions(-) Approvals: Mglaser: Looks good to me, approved jenkins-bot: Verified diff --git a/Checklist/resources/bluespice.checklist.js b/Checklist/resources/bluespice.checklist.js index a957b26..dad25e6 100644 --- a/Checklist/resources/bluespice.checklist.js +++ b/Checklist/resources/bluespice.checklist.js @@ -101,7 +101,8 @@ } else { innerText += BsChecklist.checkboxImage; } - innerText += '\'); /'; + // Do not use short notation for closing tag (/), as it breaks IE + innerText += '\'); /button'; return innerText; }, @@ -131,7 +132,7 @@ makeAndRegisterCheckboxSpecialTag: function(ed, checked) { var id = ed.plugins.bswikicode.getSpecialTagList().length; - ed.plugins.bswikicode.getSpecialTagList().push('bs:checklist value= /'); + ed.plugins.bswikicode.pushSpecialTagList('bs:checklist value= /'); var node = ed.dom.create( 'span', { @@ -149,7 +150,7 @@ makeAndRegisterSelectboxSpecialTag: function(ed, listname, value) { var id = ed.plugins.bswikicode.getSpecialTagList().length; - ed.plugins.bswikicode.getSpecialTagList().push('bs:checklist type=list value= list='+listname+'/'); + ed.plugins.bswikicode.pushSpecialTagList('bs:checklist type=list value= list='+listname+'/'); var node = ed.dom.create( 'span', { diff --git a/VisualEditor/resources/tiny_mce_plugins/bswikicode/plugin.js b/VisualEditor/resources/tiny_mce_plugins/bswikicode/plugin.js index 04dc148..bdd9dd6 100644 --- a/VisualEditor/resources/tiny_mce_plugins/bswikicode/plugin.js +++ b/VisualEditor/resources/tiny_mce_plugins/bswikicode/plugin.js @@ -2334,6 +2334,10 @@ return _specialtags; }; + this.pushSpecialTagList = function( item ) { + _specialtags.push( item ); + } + this.getTemplateList = function() { return _templates; }; -- To view, visit https://gerrit.wikimedia.org/r/195513 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I546c016a962aaf781a9bdf1aa9e82c87c2f77ec5 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/BlueSpiceExtensions Gerrit-Branch: REL1_23 Gerrit-Owner: Mglaser gla...@hallowelt.biz Gerrit-Reviewer: Mglaser gla...@hallowelt.biz Gerrit-Reviewer: Pigpen reym...@hallowelt.biz Gerrit-Reviewer: Robert Vogel vo...@hallowelt.biz Gerrit-Reviewer: jenkins-bot ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] Fixed checkbox insert in IE - change (mediawiki...BlueSpiceExtensions)
Mglaser has submitted this change and it was merged. Change subject: Fixed checkbox insert in IE .. Fixed checkbox insert in IE In IE, a construct like span id=@@ID@@button //span causes tinymce to forget the id attribute. So using button/button instead, which works. Change-Id: I546c016a962aaf781a9bdf1aa9e82c87c2f77ec5 (cherry picked from commit e3414d2771aa56116bb598e99049a8118102d370) --- M Checklist/resources/bluespice.checklist.js M VisualEditor/resources/tiny_mce_plugins/bswikicode/plugin.js 2 files changed, 10 insertions(+), 5 deletions(-) Approvals: Mglaser: Looks good to me, approved diff --git a/Checklist/resources/bluespice.checklist.js b/Checklist/resources/bluespice.checklist.js index f21f0bc..588f1d0 100644 --- a/Checklist/resources/bluespice.checklist.js +++ b/Checklist/resources/bluespice.checklist.js @@ -95,7 +95,8 @@ } else { innerText += BsChecklist.checkboxImage; } - innerText += '\'); /'; + // Do not use short notation for closing tag (/), as it breaks IE + innerText += '\'); /button'; return innerText; }, @@ -125,7 +126,7 @@ makeAndRegisterCheckboxSpecialTag: function(ed, checked) { var id = ed.plugins.bswikicode.getSpecialTagList().length; - ed.plugins.bswikicode.getSpecialTagList().push('bs:checklist value= /'); + ed.plugins.bswikicode.pushSpecialTagList('bs:checklist value= /'); var node = ed.dom.create( 'span', { @@ -143,7 +144,7 @@ makeAndRegisterSelectboxSpecialTag: function(ed, listname, value) { var id = ed.plugins.bswikicode.getSpecialTagList().length; - ed.plugins.bswikicode.getSpecialTagList().push('bs:checklist type=list value= list='+listname+'/'); + ed.plugins.bswikicode.pushSpecialTagList('bs:checklist type=list value= list='+listname+'/'); var node = ed.dom.create( 'span', { @@ -374,4 +375,4 @@ this.execCommand('mceBsSelectbox', ui, v); } }); -}); \ No newline at end of file +}); diff --git a/VisualEditor/resources/tiny_mce_plugins/bswikicode/plugin.js b/VisualEditor/resources/tiny_mce_plugins/bswikicode/plugin.js index 731ee1b..c0431f1 100644 --- a/VisualEditor/resources/tiny_mce_plugins/bswikicode/plugin.js +++ b/VisualEditor/resources/tiny_mce_plugins/bswikicode/plugin.js @@ -2247,6 +2247,10 @@ return _specialtags; }; + this.pushSpecialTagList = function( item ) { + _specialtags.push( item ); + } + this.getTemplateList = function() { return _templates; }; @@ -2256,4 +2260,4 @@ }; }; -tinymce.PluginManager.add('bswikicode', BsWikiCode); \ No newline at end of file +tinymce.PluginManager.add('bswikicode', BsWikiCode); -- To view, visit https://gerrit.wikimedia.org/r/195514 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I546c016a962aaf781a9bdf1aa9e82c87c2f77ec5 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/BlueSpiceExtensions Gerrit-Branch: REL1_22 Gerrit-Owner: Mglaser gla...@hallowelt.biz Gerrit-Reviewer: Mglaser gla...@hallowelt.biz Gerrit-Reviewer: Pigpen reym...@hallowelt.biz Gerrit-Reviewer: Robert Vogel vo...@hallowelt.biz Gerrit-Reviewer: jenkins-bot ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] Fixed checkbox insert in IE - change (mediawiki...BlueSpiceExtensions)
Robert Vogel has submitted this change and it was merged. Change subject: Fixed checkbox insert in IE .. Fixed checkbox insert in IE In IE, a construct like span id=@@ID@@button //span causes tinymce to forget the id attribute. So using button/button instead, which works. Change-Id: I546c016a962aaf781a9bdf1aa9e82c87c2f77ec5 --- M Checklist/resources/bluespice.checklist.js M VisualEditor/resources/tiny_mce_plugins/bswikicode/plugin.js 2 files changed, 8 insertions(+), 3 deletions(-) Approvals: Robert Vogel: Verified; Looks good to me, approved diff --git a/Checklist/resources/bluespice.checklist.js b/Checklist/resources/bluespice.checklist.js index a957b26..dad25e6 100644 --- a/Checklist/resources/bluespice.checklist.js +++ b/Checklist/resources/bluespice.checklist.js @@ -101,7 +101,8 @@ } else { innerText += BsChecklist.checkboxImage; } - innerText += '\'); /'; + // Do not use short notation for closing tag (/), as it breaks IE + innerText += '\'); /button'; return innerText; }, @@ -131,7 +132,7 @@ makeAndRegisterCheckboxSpecialTag: function(ed, checked) { var id = ed.plugins.bswikicode.getSpecialTagList().length; - ed.plugins.bswikicode.getSpecialTagList().push('bs:checklist value= /'); + ed.plugins.bswikicode.pushSpecialTagList('bs:checklist value= /'); var node = ed.dom.create( 'span', { @@ -149,7 +150,7 @@ makeAndRegisterSelectboxSpecialTag: function(ed, listname, value) { var id = ed.plugins.bswikicode.getSpecialTagList().length; - ed.plugins.bswikicode.getSpecialTagList().push('bs:checklist type=list value= list='+listname+'/'); + ed.plugins.bswikicode.pushSpecialTagList('bs:checklist type=list value= list='+listname+'/'); var node = ed.dom.create( 'span', { diff --git a/VisualEditor/resources/tiny_mce_plugins/bswikicode/plugin.js b/VisualEditor/resources/tiny_mce_plugins/bswikicode/plugin.js index 04dc148..bdd9dd6 100644 --- a/VisualEditor/resources/tiny_mce_plugins/bswikicode/plugin.js +++ b/VisualEditor/resources/tiny_mce_plugins/bswikicode/plugin.js @@ -2334,6 +2334,10 @@ return _specialtags; }; + this.pushSpecialTagList = function( item ) { + _specialtags.push( item ); + } + this.getTemplateList = function() { return _templates; }; -- To view, visit https://gerrit.wikimedia.org/r/191857 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I546c016a962aaf781a9bdf1aa9e82c87c2f77ec5 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/BlueSpiceExtensions Gerrit-Branch: master Gerrit-Owner: Mglaser gla...@hallowelt.biz Gerrit-Reviewer: Pigpen reym...@hallowelt.biz Gerrit-Reviewer: Robert Vogel vo...@hallowelt.biz Gerrit-Reviewer: jenkins-bot ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] Fixed checkbox insert in IE - change (mediawiki...BlueSpiceExtensions)
Mglaser has uploaded a new change for review. https://gerrit.wikimedia.org/r/191857 Change subject: Fixed checkbox insert in IE .. Fixed checkbox insert in IE In IE, a construct like span id=@@ID@@button //span causes tinymce to forget the id attribute. So using button/button instead, which works. Change-Id: I546c016a962aaf781a9bdf1aa9e82c87c2f77ec5 --- M Checklist/resources/bluespice.checklist.js M VisualEditor/resources/tiny_mce_plugins/bswikicode/plugin.js 2 files changed, 8 insertions(+), 3 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/BlueSpiceExtensions refs/changes/57/191857/1 diff --git a/Checklist/resources/bluespice.checklist.js b/Checklist/resources/bluespice.checklist.js index a957b26..dad25e6 100644 --- a/Checklist/resources/bluespice.checklist.js +++ b/Checklist/resources/bluespice.checklist.js @@ -101,7 +101,8 @@ } else { innerText += BsChecklist.checkboxImage; } - innerText += '\'); /'; + // Do not use short notation for closing tag (/), as it breaks IE + innerText += '\'); /button'; return innerText; }, @@ -131,7 +132,7 @@ makeAndRegisterCheckboxSpecialTag: function(ed, checked) { var id = ed.plugins.bswikicode.getSpecialTagList().length; - ed.plugins.bswikicode.getSpecialTagList().push('bs:checklist value= /'); + ed.plugins.bswikicode.pushSpecialTagList('bs:checklist value= /'); var node = ed.dom.create( 'span', { @@ -149,7 +150,7 @@ makeAndRegisterSelectboxSpecialTag: function(ed, listname, value) { var id = ed.plugins.bswikicode.getSpecialTagList().length; - ed.plugins.bswikicode.getSpecialTagList().push('bs:checklist type=list value= list='+listname+'/'); + ed.plugins.bswikicode.pushSpecialTagList('bs:checklist type=list value= list='+listname+'/'); var node = ed.dom.create( 'span', { diff --git a/VisualEditor/resources/tiny_mce_plugins/bswikicode/plugin.js b/VisualEditor/resources/tiny_mce_plugins/bswikicode/plugin.js index 04dc148..bdd9dd6 100644 --- a/VisualEditor/resources/tiny_mce_plugins/bswikicode/plugin.js +++ b/VisualEditor/resources/tiny_mce_plugins/bswikicode/plugin.js @@ -2334,6 +2334,10 @@ return _specialtags; }; + this.pushSpecialTagList = function( item ) { + _specialtags.push( item ); + } + this.getTemplateList = function() { return _templates; }; -- To view, visit https://gerrit.wikimedia.org/r/191857 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I546c016a962aaf781a9bdf1aa9e82c87c2f77ec5 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/BlueSpiceExtensions Gerrit-Branch: master Gerrit-Owner: Mglaser gla...@hallowelt.biz ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits