Page MenuHomePhabricator

D9510.diff
No OneTemporary

D9510.diff

diff --git a/webroot/rsrc/js/application/projects/behavior-project-boards.js b/webroot/rsrc/js/application/projects/behavior-project-boards.js
--- a/webroot/rsrc/js/application/projects/behavior-project-boards.js
+++ b/webroot/rsrc/js/application/projects/behavior-project-boards.js
@@ -157,4 +157,19 @@
.setHandler(JX.bind(null, onedit, null, column))
.start();
});
+
+
+ function redraw_board()
+ {
+ var new_y = JX.Vector.getViewport().y - 200;
+ new_y = Math.max(320, new_y);
+
+ for (ii = 0; ii < cols.length; ii++) {
+ cols[ii].style.height = new_y + 'px';
+ cols[ii].style['overflowY'] = 'scroll';
+ }
+ }
+
+ JX.Stratcom.listen('resize', null, redraw_board);
+ redraw_board();
});

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 3, 7:57 PM (4 d, 19 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6722208
Default Alt Text
D9510.diff (737 B)

Event Timeline