Permalink
Browse files

Fixed compatibility with old templates

  • Loading branch information...
1 parent 55e8aac commit 018bced792905ed14f25c6c5eb96956c84d01edc Adam Moore committed Dec 16, 2009
Showing with 8 additions and 0 deletions.
  1. +8 −0 template/assets/ac-js
@@ -15,6 +15,10 @@
yuidoc = YAHOO.namespace('yuidoc');
yuidoc.init = function() {
+
+};
+
+yuidoc.initUI = function() {
//Checkboxes are available..
var handleClick = function(e) {
var id, checked = false;
@@ -159,4 +163,8 @@ yuidoc.init = function() {
});
*/
+ YAHOO.util.Event.onAvailable('showprivate', function() {
+ YAHOO.yuidoc.initUI();
+ });
+
})();

0 comments on commit 018bced

Please sign in to comment.