Skip to content
This repository has been archived by the owner on Feb 14, 2020. It is now read-only.

Only check emptyness of attribute rule when actually enabled. #572

Merged
merged 1 commit into from
May 6, 2015
Merged

Only check emptyness of attribute rule when actually enabled. #572

merged 1 commit into from
May 6, 2015

Conversation

thijskh
Copy link
Contributor

@thijskh thijskh commented Mar 31, 2015

Fixes #417

@@ -73,7 +73,7 @@ $(function () {
validateArp: function ($input, val) {
var message;
var value = val || $input.val();
if (!value || value.trim() === '') {
if ($input.prop("checked") && (!value || value.trim() === '')) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oi this could use some refactoring, but 👍 for now I guess.

relaxnow pushed a commit that referenced this pull request May 6, 2015
Only check emptyness of attribute rule when actually enabled.
@relaxnow relaxnow merged commit 29ca43c into janus-ssp:develop May 6, 2015
@thijskh thijskh deleted the fix-arp-checkbox branch May 6, 2015 07:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Checkbox in ARP gives UI error
2 participants