Commit 40bd49c2 authored by flothoni's avatar flothoni

database.js; Add a function to get class of button get_reads

link to #1469
parent 2b6c4012
......@@ -38,6 +38,7 @@ function Database(model, address) {
this.url = []
this.m = model
this.uploader = new Uploader()
this.list_clones_with_reads_getted = []
this.build()
window.onbeforeunload = function(e){
......@@ -126,6 +127,14 @@ Database.prototype = {
})
},
get_reads_btn_class: function(timepoint, clone_id) {
if (this.list_clones_with_reads_getted.indexOf([timepoint, clone_id]) != -1){
return "disabledClass"
}
return ""
},
get_read: function(window, clone_id, sequence_file_id) {
var self = this;
self.ajax_indicator_start()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment