Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into 1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Bert Pareyn committed May 9, 2012
2 parents c89d4e0 + fbf233a commit 5fd81ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion devwidgets/inserter/javascript/inserter.js
Expand Up @@ -291,10 +291,11 @@ require(['jquery', 'sakai/sakai.api.core'], function($, sakai) {
}
});
} else {
var currentCount = parseInt($('#inserter_header_itemcount > #inserter_header_itemcount_count', $rootel).text(), 10);
// Update the header of the library if necessary
if (inCollection) {
$('#inserter_header_itemcount > #inserter_header_itemcount_count', $rootel).text(
sakai.data.me.user.properties.contentCount);
currentCount + amount);
}
}
};
Expand Down

0 comments on commit 5fd81ad

Please sign in to comment.