/*\r
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.\r
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.\r
For licensing, see LICENSE.html or http://ckeditor.com/license\r
*/\r
\r
dialog.getValueOf( 'info', 'linkType' ) != 'url' )\r
return true;\r
\r
+ if ( (/javascript\:/).test( this.getValue() ) ) {\r
+ alert( commonLang.invalidValue );\r
+ return false;\r
+ }\r
+\r
if ( this.getDialog().fakeObj ) // Edit Anchor.\r
return true;\r
\r