ajaxorg/cloud9 — pull request #544 by sergi (2011-11-28 16:33:04+00:00)
Title: Fixed reference error in `libdock.js`

The code was assuming that the variable `buttons`
would always contain at least one item, but as I
received in some error logs, button can many times
be null or not contain any item.

For @javruben or anybody, really.