equal
deleted
inserted
replaced
410 |
410 |
411 tinyMCEPopup.execCommand("mceBeginUndoLevel"); |
411 tinyMCEPopup.execCommand("mceBeginUndoLevel"); |
412 |
412 |
413 // Create new anchor elements |
413 // Create new anchor elements |
414 if (elm == null) { |
414 if (elm == null) { |
415 tinyMCEPopup.execCommand("CreateLink", false, "#mce_temp_url#"); |
415 tinyMCEPopup.execCommand("CreateLink", false, "#mce_temp_url#", {skip_undo : 1}); |
416 |
416 |
417 elementArray = tinymce.grep(inst.dom.select("a"), function(n) {return inst.dom.getAttrib(n, 'href') == '#mce_temp_url#';}); |
417 elementArray = tinymce.grep(inst.dom.select("a"), function(n) {return inst.dom.getAttrib(n, 'href') == '#mce_temp_url#';}); |
418 for (i=0; i<elementArray.length; i++) { |
418 for (i=0; i<elementArray.length; i++) { |
419 elm = elementArray[i]; |
419 elm = elementArray[i]; |
420 |
420 |