Skip to content

Commit

Permalink
Merge 0feb231
Browse files Browse the repository at this point in the history
  • Loading branch information
frozzare committed Apr 14, 2016
1 parent 55b35eb commit 3c0e0b7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/assets/js/packages/papi/properties/flexible.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class Flexible extends Repeater {
}
});

$(document).on('click', '.papi-property-flexible .bottom button[type=button]', function (e) {
$(document).on('click', '.papi-property-flexible .bottom button[type="button"]', function (e) {
e.preventDefault();
$(this).prev().removeClass('papi-hide');
});
Expand Down
5 changes: 3 additions & 2 deletions src/assets/js/packages/papi/properties/relationship.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ class Relationship {
ui.item.removeClass('sortable');
}
}).disableSelection();

$(document).on('click', '.papi-property-relationship .relationship-left li', function (e) {
e.preventDefault();
self.add($(this));
Expand All @@ -60,7 +61,7 @@ class Relationship {
e.preventDefault();
self.remove($(this));
});
$(document).on('keyup', '.papi-property-relationship input[type=search]', this.search);
$(document).on('keyup', '.papi-property-relationship input[type="search"]', this.search);
$(document).on('papi/property/repeater/added', '[data-property="relationship"]', this.update);
}

Expand All @@ -75,7 +76,7 @@ class Relationship {

if (settings.onlyOnce) {
$prop
.find('.relationship-left input[value="' + $this.find('input[type=hidden]').val() + '"]')
.find('.relationship-left input[value="' + $this.find('input[type="hidden"]').val() + '"]')
.closest('li')
.removeClass('papi-hide');
}
Expand Down
2 changes: 1 addition & 1 deletion src/assets/js/packages/papi/properties/repeater.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class Repeater {
}
});

$(document).on('click', '.papi-property-repeater .bottom button[type=button]', function (e) {
$(document).on('click', '.papi-property-repeater .bottom button[type="button"]', function (e) {
e.preventDefault();
self.add($(this));
});
Expand Down

0 comments on commit 3c0e0b7

Please sign in to comment.