You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: qiita_pet/templates/redbiom.html
+13-3Lines changed: 13 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -121,15 +121,15 @@
121
121
$("#submitForm").submit(function(event){
122
122
event.preventDefault();
123
123
124
-
show_loading("redbiom-info");
124
+
show_loading("redbiom-info",true);
125
125
126
126
varsearch=$("#search").val();
127
127
varsearch_on=$("#search_on").val();
128
+
varredbiom_info=$('#redbiom-info');
128
129
129
130
$.post("{% raw qiita_config.portal_dir %}/redbiom/",{'search': search,'search_on': search_on})
130
131
.done(function(data){
131
132
varredbiom_table=$('#redbiom-table').DataTable();
132
-
varredbiom_info=$('#redbiom-info');
133
133
// the next 4 lines reset the column filtering
134
134
varplacer=$(".ps");
135
135
redbiom_table.column(3).search("").draw();
@@ -148,7 +148,17 @@
148
148
redbiom_info.html('');
149
149
}
150
150
}
151
-
});
151
+
})
152
+
.fail(function(response,status,error){
153
+
vartext='The query response is larger than is currently allowed, please try another. <a href="https://github.com/biocore/qiita/issues/2312" target="_blank">Track progress on this issue.</a>';
154
+
if(response.status!=504){
155
+
text='Status code: "'+response.status+'" - '+error+'.<br/>Please send a screenshot to <a href="[email protected]">[email protected]</a>.';
0 commit comments