summaryrefslogtreecommitdiff
path: root/program/js/tiny_mce/plugins/xhtmlxtras
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-07-18 14:59:01 +0000
committeralecpl <alec@alec.pl>2008-07-18 14:59:01 +0000
commit18240a9201d193a5a2420f8644fa05b7bfbceeec (patch)
tree79f1f65e1eede1f8f5e8bf87960594c286b600e8 /program/js/tiny_mce/plugins/xhtmlxtras
parentbc0fe54235ae4f5cd4a74be91beb1f9953eb7b03 (diff)
- Updated TinyMCE to version 3.1.0.1
Diffstat (limited to 'program/js/tiny_mce/plugins/xhtmlxtras')
-rw-r--r--program/js/tiny_mce/plugins/xhtmlxtras/js/element_common.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/js/tiny_mce/plugins/xhtmlxtras/js/element_common.js b/program/js/tiny_mce/plugins/xhtmlxtras/js/element_common.js
index 724d9d1a9..cc11835fa 100644
--- a/program/js/tiny_mce/plugins/xhtmlxtras/js/element_common.js
+++ b/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();