alecpl
2011-03-27 94dfd8ab9d61a969453fdd3b9be14b58e1576816
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')