application/js/views/piece_view.js in spontaneous-0.2.0.beta1 vs application/js/views/piece_view.js in spontaneous-0.2.0.beta2

- old
+ new

@@ -17,13 +17,13 @@ return false; }, title: function() { return "Delete this " + (this.parent_view.content.is_page() ? "Page?" : "Piece?"); }, - position_from_event: function(event) { - return this.position_from_element(event); - }, + // position_from_event: function(event) { + // return this.position_from_element(event); + // }, view: function() { var __entry = this.parent_view; var w = dom.div('#popover-delete').click(function() { __entry.cancel_destroy(); return false; @@ -34,10 +34,11 @@ return false; }); var cancel = dom.a('.cancel').text("Cancel"); w.append(cancel, ok) return w; - } + }, + scroll: true }); var PieceView = new JS.Class(S.Views.View, { initialize: function(content, container_view) { this.callSuper(content);