- Make sure to send the subdirectory when restarting a build

- Make sure to use the subdirectory to read the Dockerfile's location in a build package, and display the path
- Nicer UI for showing the trigger description in the build view
- Fix an NPE in the file change tree
This commit is contained in:
Joseph Schorr 2014-03-05 16:27:56 -05:00
parent 3006b7b749
commit 89d9bcd894
8 changed files with 51 additions and 8 deletions

View file

@ -851,7 +851,8 @@ function FileTreeBase() {
* Calculates the dimensions of the tree.
*/
FileTreeBase.prototype.calculateDimensions_ = function(container) {
var cw = document.getElementById(container).clientWidth;
var containerElm = document.getElementById(container);
var cw = containerElm ? containerElm.clientWidth : 1200;
var barHeight = 20;
var ch = (this.getNodesHeight() * barHeight) + 40;