Chad Weider f83e619fd9 Null-out the padeditor's reference to ace once it has been distroyed.
This enables the guards placed in `padeditor.disable` to work. On `window.unload` the pad's connection would get closed which would lead to the editor becomming disabled. If the editor had already been `disposed` then the call to `disable` would raise the exception:

  `Uncaught TypeError: Cannot call method 'ace_setProperty' of null`
2012-01-30 15:23:54 -08:00
..
2012-01-22 09:54:28 -08:00
2011-08-21 19:20:18 +01:00
2011-08-21 19:27:02 +01:00
2011-07-07 18:59:34 +01:00