mirror of
https://github.com/wahyd4/jQuery-Tags-Input.git
synced 2026-08-15 07:46:38 +10:00
Options
This commit is contained in:
+1
-1
@@ -21,7 +21,6 @@
|
||||
|
||||
jQuery.fn.addTag = function(value,options) {
|
||||
|
||||
var options = jQuery.extend({focus:false},options);
|
||||
var options = jQuery.extend({focus:false,callback:true},options);
|
||||
this.each(function() {
|
||||
id = $(this).attr('id');
|
||||
@@ -127,6 +126,7 @@
|
||||
|
||||
|
||||
delimiter[id] = data.delimiter;
|
||||
|
||||
if (settings.onAddTag || settings.onRemoveTag) {
|
||||
tags_callbacks[id] = new Array();
|
||||
tags_callbacks[id]['onAddTag'] = settings.onAddTag;
|
||||
|
||||
Reference in New Issue
Block a user