Permalink
Browse files

Small changes

  • Loading branch information...
1 parent dd43ef8 commit 2686ccd4150ca9ca57885c575deb8a933febc391 @kvj committed Apr 11, 2012
Showing with 6 additions and 3 deletions.
  1. +3 −0 android/StickStack/src/org/kvj/sstack/KeyboardPlugin.java
  2. +1 −1 src/sstack/sheet.js
  3. +2 −2 src/sstack/sstack.js
@@ -80,6 +80,9 @@ protected boolean keyHandler(int keyCode, KeyEvent event) {
case KeyEvent.KEYCODE_MOVE_END:
sendEvent(obj, 35);
break;
+ case KeyEvent.KEYCODE_L:
+ sendEvent(obj, 76);
+ break;
}
} catch (JSONException e) {
e.printStackTrace();
View
@@ -1236,7 +1236,7 @@ Sheet.prototype.render_hour = function(hour, div) {
};
Sheet.prototype.prepare_timeline = function() {
- this.loadNotes = 10;
+ this.loadNotes = 20;
this.page = 0;
this.extra.limit = ''+this.loadNotes+' offset '+this.page;
this.extra.order = ['!id'];
@@ -34,7 +34,7 @@ yepnope({
})
var run = function() {
- log('Agent:', navigator.userAgent);
+ // log('Agent:', navigator.userAgent);
Date.prototype.startWeek = 1;
if (CURRENT_PLATFORM == PLATFORM_AIR) {
db = new AirDBProvider('sstack');
@@ -197,7 +197,7 @@ var TopManager = function() {//Manages top panel
}, this), 100);
manager.keyListener.on('keydown', _.bind(function (e) {
- if (e.keyCode == 120) {
+ if (e.keyCode == 120 || (e.ctrlKey && e.keyCode == 76)) {
this.showLogAdd();
return false;
};

0 comments on commit 2686ccd

Please sign in to comment.