Page MenuHomePhabricator

D9510.id.diff
No OneTemporary

D9510.id.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
Fri, Mar 28, 8:40 AM (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7385249
Default Alt Text
D9510.id.diff (737 B)

Event Timeline