add jquery 1.9.1 and fix tests

This commit is contained in:
vitalets
2013-03-07 00:09:18 +04:00
parent e4565910cc
commit fa11895f0b
9 changed files with 33 additions and 13 deletions

@@ -604,6 +604,9 @@ $(function () {
e = $('<a href="#" data-type="select" data-value="2" data-url="post.php"></a>').appendTo(fx).editable({
pk: 1,
source: groups,
ajaxOptions: {
dataType: 'json'
},
display: function(value, sourceData, response) {
var els = $.grep(sourceData, function(o) {return o.value == value;});
$(this).text('qq' + els[0].text);