Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Using class as an object attribute key crashes phantomjs.

  • Loading branch information...
commit 374ef528fd615d6fce0386a85e94ad1e85f77b8f 1 parent 50a7ae4
@lazyatom lazyatom authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  app/assets/javascripts/admin/organisation_contact_form.js
View
3  app/assets/javascripts/admin/organisation_contact_form.js
@@ -38,7 +38,8 @@
};
var addLinkToCloneEmptyFields = function() {
- var link = $.a('Add new contact', {class: 'button add_new'}).click(function () {
+ var link = $.a('Add new contact', {'class': 'button add_new'});
+ link.click(function () {
addNewContact(); return false;
})
self.after(link);
Please sign in to comment.
Something went wrong with that request. Please try again.