projects
/
web
/
Keweenaw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ea4757
)
blocks edit page
author
Steve Sutton
<steve@gaslightmedia.com>
Wed, 13 Aug 2014 19:48:21 +0000
(15:48 -0400)
committer
Steve Sutton
<steve@gaslightmedia.com>
Wed, 13 Aug 2014 19:48:21 +0000
(15:48 -0400)
don't require a page or a url
Toolkit/Blocks/js/editPage.js
patch
|
blob
|
history
diff --git
a/Toolkit/Blocks/js/editPage.js
b/Toolkit/Blocks/js/editPage.js
index
2779974
..
d312bd2
100644
(file)
--- 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;