Skip to content
Permalink
Browse files

first step for dynamique iconpicker

  • Loading branch information...
Berges Yannick
Berges Yannick committed Jan 9, 2019
1 parent b56ba0f commit 150ed673a0badd88af8db95467eabd65d38a9b47
Showing with 10 additions and 1 deletion.
  1. +10 −1 elements/iconpicker.php
@@ -77,7 +77,16 @@ public function getInput() {
input.val('" . $this->value . "');
})(jQuery);
</script>";
</script>
<script>
jQuery(document).ready(function(){
jQuery(document).on('subform-row-add', function(event, row){
jQuery(row).find('button').iconpicker();
jQuery(row).find('select').chosen();
})
});
</script>
";
return $iconlist;
}

0 comments on commit 150ed67

Please sign in to comment.
You can’t perform that action at this time.