[DRE-commits] [taskwarrior-web] 01/01: Fix JQuery Hotkeys keyup for version 0.8+.
Ben Armstrong
synrg at alioth.debian.org
Sun Aug 18 20:18:27 UTC 2013
This is an automated email from the git hooks/post-receive script.
synrg pushed a commit to branch master
in repository taskwarrior-web.
commit 04e21c69c7bf56b3bb16ff32b2902f3b055f25bb
Author: Ben Armstrong <synrg at debian.org>
Date: Sun Aug 18 17:17:09 2013 -0300
Fix JQuery Hotkeys keyup for version 0.8+.
---
debian/patches/fix_jquery-hotkeys_0.8+_keyup.patch | 39 ++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 40 insertions(+)
diff --git a/debian/patches/fix_jquery-hotkeys_0.8+_keyup.patch b/debian/patches/fix_jquery-hotkeys_0.8+_keyup.patch
new file mode 100644
index 0000000..3203966
--- /dev/null
+++ b/debian/patches/fix_jquery-hotkeys_0.8+_keyup.patch
@@ -0,0 +1,39 @@
+Description: Fix keyup for JQuery Hotkeys 0.8+, replacing bundled version
+ The bundled JQuery Hotkeys was out of date and used an older API for
+ binding keys.
+ .
+ taskwarrior-web (1.1.11-1) UNRELEASED; urgency=low
+ .
+ * Initial release (Closes: #719315)
+Author: Ben Armstrong <synrg at sanctuary.nslug.ns.ca>
+Bug-Debian: http://bugs.debian.org/719315
+Forwarded: no
+Last-Update: 2013-08-13
+
+--- taskwarrior-web-1.1.11.orig/lib/taskwarrior-web/public/js/application.js
++++ taskwarrior-web-1.1.11/lib/taskwarrior-web/public/js/application.js
+@@ -80,20 +80,20 @@ var initHotkeys = function() {
+ $('#hotkeys').modal({show: false});
+
+ // "n" goes to new task form.
+- $(document).bind('keyup', 'n', function() {
++ $(document).bind('keyup.n', function() {
+ window.location.href = '/tasks/new?destination='+encodeURIComponent('/'+window.location.pathname);
+ });
+
+ // "1-*" go to tabs in main nav.
+- $(document).bind('keyup', '1', function() {
++ $(document).bind('keyup.1', function() {
+ window.location.href = '/tasks';
+ });
+- $(document).bind('keyup', '2', function() {
++ $(document).bind('keyup.2', function() {
+ window.location.href = '/projects';
+ });
+
+ // "h" displays a list of hotkeys.
+- $(document).bind('keyup', 'h', function() {
++ $(document).bind('keyup.h', function() {
+ $('#help').modal('toggle');
+ });
+ };
diff --git a/debian/patches/series b/debian/patches/series
index b08d6f1..535b21e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
remove_missing_spec_deps.patch
disable_rubygems.patch
fix_path_to_taskwarrior_lib.patch
+fix_jquery-hotkeys_0.8+_keyup.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/taskwarrior-web.git
More information about the Pkg-ruby-extras-commits
mailing list