thomascube
2011-04-20 a9251be2f09fb5f18a85d201c67668c70980efe3
program/js/tiny_mce/themes/advanced/js/anchor.js
@@ -19,6 +19,11 @@
   update : function() {
      var ed = this.editor, elm, name = document.forms[0].anchorName.value;
      if (!name || !/^[a-z][a-z0-9\-\_:\.]*$/i.test(name)) {
         tinyMCEPopup.alert('advanced_dlg.anchor_invalid');
         return;
      }
      tinyMCEPopup.restoreSelection();
      if (this.action != 'update')