1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/a58f6ca10843/ Changeset: a58f6ca10843 User: guerler Date: 2013-11-26 18:52:51 Summary: Upload: Backup id of current history Affected #: 1 file diff -r 9f31145b33ceb83e539bcdd571b48ff440b4c1eb -r a58f6ca10843c91727807e7150b549ecd9b13ec5 static/scripts/galaxy.upload.js --- a/static/scripts/galaxy.upload.js +++ b/static/scripts/galaxy.upload.js @@ -17,6 +17,9 @@ // upload mod uploadbox: null, + // current history + current_history: null, + // extension types select_extension :[['Auto-detect', 'auto']], @@ -227,7 +230,6 @@ sy.addClass(this.state.running); // get configuration - var current_history = Galaxy.currHistoryPanel.model.get('id'); var file_type = it.find('#extension').val(); var genome = it.find('#genome').val(); var url_paste = it.find('#text-content').val(); @@ -251,7 +253,7 @@ // setup data data = {}; - data['history_id'] = current_history; + data['history_id'] = this.current_history; data['tool_id'] = 'upload1'; data['inputs'] = JSON.stringify(tool_input); @@ -375,6 +377,9 @@ } }); + // backup current history + this.current_history = Galaxy.currHistoryPanel.model.get('id'); + // update running this.counter.running = this.counter.announce; this.update_screen(); Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.