diff --git a/js/icon_select.js b/js/icon_select.js
index b71eeb453c..759bb3c584 100644
--- a/js/icon_select.js
+++ b/js/icon_select.js
@@ -16,7 +16,7 @@ $(function()
menus : [],
- _cleanAllMenus()
+ _cleanAllMenus: function()
{
var me = this;
$.each(this.menus, function(i){
@@ -44,7 +44,7 @@ $(function()
}
this.oImg = $('
');
this.oLabel = $(''+sLabel+'');
- this.oButton = $('');
+ this.oButton = $('');
this.oButton.prepend(this.oLabel).prepend(this.oImg);
this.oButton.click(function(event, ui) {
//me._cleanAllMenus();
@@ -63,7 +63,7 @@ $(function()
});
if (this.options.post_upload_to != null)
{
- this.oUploadBtn = $('');
+ this.oUploadBtn = $('');
this.oUploadBtn.click( function() { me._upload_dlg(); } );
this.oButton.after(this.oUploadBtn);
}
@@ -77,7 +77,6 @@ $(function()
}
});
this.oUploadDlg = null;
- this._refresh();
},
// called when created, and later when changing options
@@ -133,7 +132,7 @@ $(function()
this._create_menu();
},
- _cleanMenu(menu)
+ _cleanMenu: function(menu)
{
menu.hide();
menu.remove();