From: Steve Sutton Date: Wed, 13 Aug 2014 19:48:21 +0000 (-0400) Subject: blocks edit page X-Git-Tag: V1.0^2~90 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=4ac96b78d5567735e2bdcbca4bba372fee3acff6;p=web%2FKeweenaw.git blocks edit page don't require a page or a url --- diff --git a/Toolkit/Blocks/js/editPage.js b/Toolkit/Blocks/js/editPage.js index 2779974..d312bd2 100644 --- a/Toolkit/Blocks/js/editPage.js +++ b/Toolkit/Blocks/js/editPage.js @@ -129,10 +129,10 @@ $(function(){ } var page_to = $('input[name="page_to"]', this).val(); var blockUrl = $('input[name="url"]', this).val(); - if (page_to == '' && blockUrl == '') { - errors++; - msg += "Please select a Page to link to\nor Enter a URL!\n"; - } +// if (page_to == '' && blockUrl == '') { +// errors++; +// msg += "Please select a Page to link to\nor Enter a URL!\n"; +// } if (errors > 0) { alert("Error: " + msg); return false;