Skip to content

Commit

Permalink
Backport keyup to change input
Browse files Browse the repository at this point in the history
  • Loading branch information
dannon committed Sep 23, 2015
1 parent 85552f7 commit 81ad14a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/galaxy/scripts/mvc/upload/upload-row.js
Expand Up @@ -118,7 +118,7 @@ return Backbone.View.extend({
.on('mousedown', function(e) { e.preventDefault(); });

// handle text editing event
it.find('#text-content').on('keyup', function(e) {
it.find('#text-content').on('change input', function(e) {
self.model.set('url_paste', $(e.target).val());
self.model.set('file_size', $(e.target).val().length);
});
Expand Down
2 changes: 1 addition & 1 deletion static/maps/mvc/upload/upload-row.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 81ad14a

Please sign in to comment.