Skip to content
Permalink
Browse files

make upload button clickable

  • Loading branch information
PatWie committed Jan 11, 2020
1 parent 3af526b commit 2f40a50eab4fa52274bde4efb40873f7acaa3db1
Showing with 17 additions and 7 deletions.
  1. +17 −7 static/js/main.js
@@ -292,23 +292,33 @@ $(function() {
SheetApp.scroll_to_page(SheetApp.current_page_number - 1);
});

$("#help-dialog_btn").click(function(e) {
$("#refresh_btn").click(function(e) {
e.stopPropagation();
Results.load();
});


$("#search_btn").click(function(e) {
if (dialogs.active_dialog() === undefined) {
e.stopPropagation();
dialogs.show(1);
dialogs.show(0);
}
});

$("#search_btn").click(function(e) {
$("#help-dialog_btn").click(function(e) {
if (dialogs.active_dialog() === undefined) {
e.stopPropagation();
dialogs.show(0);
dialogs.show(1);
}
});

$("#refresh_btn").click(function(e) {
e.stopPropagation();
Results.load();
$("#upload-dialog_btn").click(function(e) {
if ($("body").data('upload') == "enabled") {
if (dialogs.active_dialog() === undefined) {
e.stopPropagation();
dialogs.show(2);
}
}
});

var Results = {

0 comments on commit 2f40a50

Please sign in to comment.
You can’t perform that action at this time.