Skip to content

Commit

Permalink
Merge branch 'release/v1.8.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
tinybeans committed Mar 25, 2015
2 parents 9b7804e + 9fb57da commit 7b2ac1c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions MTAppjQuery/mt-static/plugins/MTAppjQuery/js/MTAppjQuery.js
Expand Up @@ -4,7 +4,7 @@
* Copyright (c) Tomohiro Okuwaki (http://bit-part/)
*
* Since: 2010-06-22
* Update: 2015-03-23
* Update: 2015-03-25
*
*/
;(function($){
Expand Down Expand Up @@ -1174,15 +1174,15 @@
tmplOut[key] = [];
}

op.params = op.params || {};
op.params.includeIds = ids;
if ('limit' in op.params) {
op.params.limit = 9999;
var params = op.params || {};
params.includeIds = ids;
if (!('limit' in params)) {
params.limit = 9999;
}
if ('fields' in op.params) {
op.params.fields = 'id,title,permalink';
if (!('fields' in params)) {
params.fields = 'id,title,permalink';
}
op.api.listEntries(op.siteId, op.params, function(response) {
op.api.listEntries(op.siteId, params, function(response) {
if (response.error) {
return;
}
Expand Down Expand Up @@ -2496,7 +2496,7 @@
thisData.push($(this).val());
});
$this.val(thisData.join(','));
});
}).trigger('change');
}
});
};
Expand Down
2 changes: 1 addition & 1 deletion MTAppjQuery/plugins/MTAppjQuery/MTAppjQuery.pl
Expand Up @@ -2,7 +2,7 @@ package MT::Plugin::MTAppjQuery;
use strict;
use base qw( MT::Plugin );

our $VERSION = '1.8.0';
our $VERSION = '1.8.1';

my $plugin = MT::Plugin::MTAppjQuery->new({
id => 'mt_app_jquery',
Expand Down

0 comments on commit 7b2ac1c

Please sign in to comment.