Skip to content

Commit 0a291d6

Browse files
Merge pull request #56 from Christoffer-Cortes/master
Notification Meta field is now free-form
2 parents 6b849c7 + bf27d57 commit 0a291d6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/resources/static/js/subscription.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -737,13 +737,16 @@ jQuery(document).ready(function() {
737737
return;
738738
}
739739

740+
//Currently a free-form field
741+
/*
740742
if (!(/[a-z]|[A-Z]|[0-9]|[\:\/\.]/.test(String(vm.subscription()[0].notificationMeta()).slice(-1)))) {
741743
$.jGrowl("Only numbers and letters is valid to type in notificationMeta field.", {
742744
sticky : false,
743745
theme : 'Error'
744746
});
745747
return;
746748
}
749+
*/
747750

748751
if (vm.subscription()[0].subscriptionName() == "") {
749752
$.jGrowl("Error: SubscriptionName field must have a value", {

0 commit comments

Comments
 (0)