From 6015ff22ad2e2d402b55a2ad08f5f1bd06910aa3 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Thu, 18 Sep 2014 15:01:56 +0900 Subject: [PATCH] Moving options to dialog --- client/application.js | 3 +++ client/index.html | 49 +++++++++++++++++++++++++++++++------------ 2 files changed, 39 insertions(+), 13 deletions(-) diff --git a/client/application.js b/client/application.js index 8b40bc8..74b2367 100644 --- a/client/application.js +++ b/client/application.js @@ -90,6 +90,9 @@ ready: function() { $('#keywords').selectpicker(); + $('.btn').click(function(e) { + e.preventDefault(); + }); $.getJSON('/node/keywords', function(keywords) { for (var i = 0, count = keywords.length; i < count; ++i) { diff --git a/client/index.html b/client/index.html index 8be3f00..f118916 100644 --- a/client/index.html +++ b/client/index.html @@ -53,21 +53,44 @@ -