summaryrefslogtreecommitdiff
path: root/roundcubemail/program/js/tiny_mce/plugins/xhtmlxtras
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-07-18 14:59:01 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-07-18 14:59:01 +0000
commit5f726116cd2e0d49681e28bb127b4e154c10fbd7 (patch)
tree51f3b50c8527fc0532199398fea7222de558f54d /roundcubemail/program/js/tiny_mce/plugins/xhtmlxtras
parentf0ae601fcb1758bb1cdfe5385206b6b6386465b6 (diff)
- Updated TinyMCE to version 3.1.0.1
git-svn-id: https://svn.roundcube.net/trunk@1596 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js/tiny_mce/plugins/xhtmlxtras')
-rw-r--r--roundcubemail/program/js/tiny_mce/plugins/xhtmlxtras/js/element_common.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/js/tiny_mce/plugins/xhtmlxtras/js/element_common.js b/roundcubemail/program/js/tiny_mce/plugins/xhtmlxtras/js/element_common.js
index 724d9d1a9..cc11835fa 100644
--- a/roundcubemail/program/js/tiny_mce/plugins/xhtmlxtras/js/element_common.js
+++ b/roundcubemail/program/js/tiny_mce/plugins/xhtmlxtras/js/element_common.js
@@ -136,7 +136,7 @@ SXE.initElementDialog = function(element_name) {
element_name = element_name.toLowerCase();
var elm = SXE.inst.dom.getParent(SXE.focusElement, element_name.toUpperCase());
- if (elm != null && elm.nodeName == element_name.toUpperCase()) {
+ if (elm != null && elm.nodeName.toUpperCase() == element_name.toUpperCase()) {
SXE.currentAction = "update";
}
@@ -185,7 +185,7 @@ SXE.insertElement = function(element_name) {
SXE.removeElement = function(element_name){
element_name = element_name.toLowerCase();
elm = SXE.inst.dom.getParent(SXE.focusElement, element_name.toUpperCase());
- if(elm && elm.nodeName == element_name.toUpperCase()){
+ if(elm && elm.nodeName.toUpperCase() == element_name.toUpperCase()){
tinyMCEPopup.execCommand('mceBeginUndoLevel');
tinyMCE.execCommand('mceRemoveNode', false, elm);
SXE.inst.nodeChanged();