Skip to content

Commit

Permalink
Merge pull request #162 from andrewhayes1979/fix/js-copy-paste
Browse files Browse the repository at this point in the history
Fixing JS admin widget to properly update the field value
  • Loading branch information
nemesifier authored Mar 2, 2017
2 parents 5e6455b + 1e59585 commit aac755f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ var initDjangoHStoreWidget = function(hstore_field_name, inline_prefix) {
});

// update textarea whenever a field changes
$hstore.delegate('input[type=text]', 'keyup', function() {
$hstore.delegate('input[type=text]', 'input propertychange', function() {
updateTextarea($hstore);
});
};
Expand Down

0 comments on commit aac755f

Please sign in to comment.