From a6093b10189057d3b6ff50cd5d7f4641b28a5901 Mon Sep 17 00:00:00 2001 From: Max Ogden Date: Fri, 22 Jul 2011 23:21:32 -0700 Subject: [PATCH] fix bug to add click handler on column specific menus --- .couchappignore | 0 .couchapprc | 0 .gitignore | 0 app.js | 0 attachments/images/bg_gradient.gif | Bin attachments/images/couch.png | Bin attachments/pages/index.html | 0 attachments/script/costco.js | 0 attachments/script/lib/jquery-1.6.1.min.js | 0 attachments/script/lib/jquery.couch2.js | 0 attachments/script/lib/jquery.hotkeys.js | 0 attachments/script/lib/jquery.mustache.js | 0 attachments/script/lib/microevent.js | 0 attachments/script/lib/traverse.js | 0 attachments/script/lib/underscore.js | 0 attachments/script/recline.js | 0 attachments/script/site.js | 3 +++ attachments/script/util.js | 0 attachments/style/data-table.css | 0 attachments/style/images/loader-blue.gif | Bin attachments/style/images/loader.gif | Bin attachments/style/reset.css | 0 attachments/style/style.css | 0 readme.md | 0 24 files changed, 3 insertions(+) mode change 100644 => 100755 .couchappignore mode change 100644 => 100755 .couchapprc mode change 100644 => 100755 .gitignore mode change 100644 => 100755 app.js mode change 100644 => 100755 attachments/images/bg_gradient.gif mode change 100644 => 100755 attachments/images/couch.png mode change 100644 => 100755 attachments/pages/index.html mode change 100644 => 100755 attachments/script/costco.js mode change 100644 => 100755 attachments/script/lib/jquery-1.6.1.min.js mode change 100644 => 100755 attachments/script/lib/jquery.couch2.js mode change 100644 => 100755 attachments/script/lib/jquery.hotkeys.js mode change 100644 => 100755 attachments/script/lib/jquery.mustache.js mode change 100644 => 100755 attachments/script/lib/microevent.js mode change 100644 => 100755 attachments/script/lib/traverse.js mode change 100644 => 100755 attachments/script/lib/underscore.js mode change 100644 => 100755 attachments/script/recline.js mode change 100644 => 100755 attachments/script/site.js mode change 100644 => 100755 attachments/script/util.js mode change 100644 => 100755 attachments/style/data-table.css mode change 100644 => 100755 attachments/style/images/loader-blue.gif mode change 100644 => 100755 attachments/style/images/loader.gif mode change 100644 => 100755 attachments/style/reset.css mode change 100644 => 100755 attachments/style/style.css mode change 100644 => 100755 readme.md diff --git a/.couchappignore b/.couchappignore old mode 100644 new mode 100755 diff --git a/.couchapprc b/.couchapprc old mode 100644 new mode 100755 diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/app.js b/app.js old mode 100644 new mode 100755 diff --git a/attachments/images/bg_gradient.gif b/attachments/images/bg_gradient.gif old mode 100644 new mode 100755 diff --git a/attachments/images/couch.png b/attachments/images/couch.png old mode 100644 new mode 100755 diff --git a/attachments/pages/index.html b/attachments/pages/index.html old mode 100644 new mode 100755 diff --git a/attachments/script/costco.js b/attachments/script/costco.js old mode 100644 new mode 100755 diff --git a/attachments/script/lib/jquery-1.6.1.min.js b/attachments/script/lib/jquery-1.6.1.min.js old mode 100644 new mode 100755 diff --git a/attachments/script/lib/jquery.couch2.js b/attachments/script/lib/jquery.couch2.js old mode 100644 new mode 100755 diff --git a/attachments/script/lib/jquery.hotkeys.js b/attachments/script/lib/jquery.hotkeys.js old mode 100644 new mode 100755 diff --git a/attachments/script/lib/jquery.mustache.js b/attachments/script/lib/jquery.mustache.js old mode 100644 new mode 100755 diff --git a/attachments/script/lib/microevent.js b/attachments/script/lib/microevent.js old mode 100644 new mode 100755 diff --git a/attachments/script/lib/traverse.js b/attachments/script/lib/traverse.js old mode 100644 new mode 100755 diff --git a/attachments/script/lib/underscore.js b/attachments/script/lib/underscore.js old mode 100644 new mode 100755 diff --git a/attachments/script/recline.js b/attachments/script/recline.js old mode 100644 new mode 100755 diff --git a/attachments/script/site.js b/attachments/script/site.js old mode 100644 new mode 100755 index 801558cc..829e9485 --- a/attachments/script/site.js +++ b/attachments/script/site.js @@ -40,6 +40,9 @@ app.after = { util.render('cellEditor', cell, {value: cell.text()}); }) }, + columnActions: function() { + recline.handleMenuClick(); + }, cellEditor: function() { $('.data-table-cell-editor .okButton').click(function(e) { var cell = $(e.target); diff --git a/attachments/script/util.js b/attachments/script/util.js old mode 100644 new mode 100755 diff --git a/attachments/style/data-table.css b/attachments/style/data-table.css old mode 100644 new mode 100755 diff --git a/attachments/style/images/loader-blue.gif b/attachments/style/images/loader-blue.gif old mode 100644 new mode 100755 diff --git a/attachments/style/images/loader.gif b/attachments/style/images/loader.gif old mode 100644 new mode 100755 diff --git a/attachments/style/reset.css b/attachments/style/reset.css old mode 100644 new mode 100755 diff --git a/attachments/style/style.css b/attachments/style/style.css old mode 100644 new mode 100755 diff --git a/readme.md b/readme.md old mode 100644 new mode 100755