Special XML conversion code for Firefox >= 20.0
[infodrom/rico3] / minsrc / ricoColorPicker.js
index 36c2a3e..886a4e0 100644 (file)
@@ -1,6 +1,6 @@
 /*
- *  (c) 2005-2009 Richard Cowin (http://openrico.org)
- *  (c) 2005-2009 Matt Brown (http://dowdybrown.com)
+ *  (c) 2005-2011 Richard Cowin (http://openrico.org)
+ *  (c) 2005-2011 Matt Brown (http://dowdybrown.com)
  *
  *  Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
  *  file except in compliance with the License. You may obtain a copy of the License at
@@ -52,6 +52,8 @@ Rico.ColorPicker.prototype = {
       }
     }
     Rico.extend(this.options, options || {});
+    var self=this;
+    Rico.onLoad(function() { self.atLoad(); })
   },
 
   atLoad : function() {