feature:2927 Update TokenInput to 1.6.1/mistic100

git-svn-id: http://piwigo.org/svn/trunk@23275 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
mistic100 2013-06-16 20:53:20 +00:00
commit 68ffc79d86
7 changed files with 538 additions and 232 deletions

View file

@ -55,6 +55,7 @@ jQuery(document).ready(function() {
});
{/literal}{/footer_script}
{combine_css path='themes/default/js/plugins/jquery.tokeninput.css'}
{combine_script id='jquery.tokeninput' load='footer' require='jquery' path='themes/default/js/plugins/jquery.tokeninput.js'}
{combine_script id='jquery.progressBar' load='footer' path='themes/default/js/plugins/jquery.progressbar.min.js'}
{combine_script id='jquery.ajaxmanager' load='footer' path='themes/default/js/plugins/jquery.ajaxmanager.js'}
@ -73,7 +74,7 @@ jQuery(document).ready(function() {ldelim}
newText: ' ({'new'|@translate})',
animateDropdown: false,
preventDuplicates: true,
allowCreation: true
allowFreeTagging: true
}
);
@ -85,7 +86,7 @@ jQuery(document).ready(function() {ldelim}
searchingText: '{'Searching...'|@translate}',
animateDropdown: false,
preventDuplicates: true,
allowCreation: false
allowFreeTagging: false
}
);

View file

@ -2,6 +2,7 @@
{include file='include/datepicker.inc.tpl'}
{include file='include/colorbox.inc.tpl'}
{combine_css path='themes/default/js/plugins/jquery.tokeninput.css'}
{combine_script id='jquery.tokeninput' load='async' require='jquery' path='themes/default/js/plugins/jquery.tokeninput.js'}
{footer_script require='jquery.tokeninput'}
jQuery(document).ready(function() {ldelim}
@ -14,7 +15,7 @@ jQuery(document).ready(function() {ldelim}
newText: ' ({'new'|@translate})',
animateDropdown: false,
preventDuplicates: true,
allowCreation: true
allowFreeTagging: true
}
);

View file

@ -11,6 +11,7 @@ jQuery(document).ready(function() {
});
{/literal}{/footer_script}
{combine_css path='themes/default/js/plugins/jquery.tokeninput.css'}
{combine_script id='jquery.tokeninput' load='async' require='jquery' path='themes/default/js/plugins/jquery.tokeninput.js'}
{footer_script require='jquery.tokeninput'}
jQuery(document).ready(function() {ldelim}
@ -23,7 +24,7 @@ jQuery(document).ready(function() {ldelim}
newText: ' ({'new'|@translate})',
animateDropdown: false,
preventDuplicates: true,
allowCreation: true
allowFreeTagging: true
}
);
});