Permalink
Browse files

Small fixes

  • Loading branch information...
1 parent 667f34d commit 0737fb8ac4220efebac69a7f1e3ed49ab809eeda @kvj committed Apr 2, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/sstack/sheet.js
View
@@ -1104,7 +1104,7 @@ Sheet.prototype.reload_day = function(list, beforeID) {//
}, this)).bind('drop', {hour: i}, _.bind(function(e) {//Dropped
var drop = dd.getDDTarget(e, timeDDType);
if (drop && this.selected) {//Only ID - note drop
- log('Dropped time', drop);
+ // log('Dropped time', drop);
this.proxy('moveNote', _.bind(function(id, err) {//
if (id) {
this.reload(id);
@@ -1178,7 +1178,7 @@ Sheet.prototype.reload_day = function(list, beforeID) {//
};
if (!list[i].hours) {
if (target) {
- div.detach().appendTo(target.children('.day_hour_notes'));
+ div.detach().insertBefore(target.children('.day_hour_notes').children('.clear'));
};
} else {
var hstart = list[i].hours[0];

0 comments on commit 0737fb8

Please sign in to comment.