Added image.php to permit fully dynamic image path
[ldapsaisie.git] / public_html / includes / js / LSformElement_field.js
index 82f01df..100c939 100644 (file)
@@ -6,14 +6,14 @@ var LSformElement_field = new Class({
       
       if (this.LSformElement.multiple) {
         this.addFieldBtn = new Element('img');
-        this.addFieldBtn.src = varLSdefault.imagePath('add.png');
+        this.addFieldBtn.src = varLSdefault.imagePath('add');
         this.addFieldBtn.addClass('btn');
         this.addFieldBtn.addEvent('click',this.LSformElement.onAddFieldBtnClick.bind(this.LSformElement,this));
         this.addFieldBtn.injectInside(this.li);
         varLSdefault.addHelpInfo(this.addFieldBtn,'LSform','addFieldBtn');
         
         this.removeFieldBtn = new Element('img');
-        this.removeFieldBtn.src = varLSdefault.imagePath('remove.png');
+        this.removeFieldBtn.src = varLSdefault.imagePath('remove');
         this.removeFieldBtn.addClass('btn');
         this.removeFieldBtn.addEvent('click',this.LSformElement.onRemoveFieldBtnClick.bind(this.LSformElement,this));
         this.removeFieldBtn.injectInside(this.li);