includes/clientside/tinymce/utils/form_utils.js
changeset 459 31c23016ab62
parent 395 fa4c5ecb7c9a
child 543 dffcbfbc4e59
--- a/includes/clientside/tinymce/utils/form_utils.js	Fri Feb 22 12:51:53 2008 -0500
+++ b/includes/clientside/tinymce/utils/form_utils.js	Sun Feb 24 12:50:52 2008 -0500
@@ -1,5 +1,5 @@
 /**
- * $Id: form_utils.js 520 2008-01-07 16:30:32Z spocke $
+ * $Id: form_utils.js 614 2008-02-20 17:57:57Z spocke $
  *
  * Various form utilitiy functions.
  *
@@ -32,7 +32,9 @@
 			lnk.removeAttribute("href");
 			tinyMCEPopup.dom.addClass(img, 'disabled');
 		} else {
-			lnk.setAttribute("href", lnk.getAttribute("realhref"));
+			if (lnk.getAttribute("realhref"))
+				lnk.setAttribute("href", lnk.getAttribute("realhref"));
+
 			tinyMCEPopup.dom.removeClass(img, 'disabled');
 		}
 	}