v1.18.x
Baris Soner Usakli 11 years ago
parent e75c303b89
commit 84dc012198

@ -141,16 +141,16 @@ define(['composer', 'forum/pagination'], function(composer, pagination) {
}
loadingEl.remove();
categoriesEl.on('click', function(e) {
var el = $(e.target);
categoriesEl.on('click', 'li[data-cid]', function(e) {
var el = $(this);
if (el.is('li')) {
confirmCat.html(e.target.innerHTML);
confirmCat.html(el.html());
confirmDiv.css({display: 'block'});
targetCid = el.attr('data-cid');
targetCatLabel = e.html();
targetCatLabel = el.html();
commitEl.prop('disabled', false);
}
}, false);
});
commitEl.on('click', function() {
if (!commitEl.prop('disabled') && targetCid) {

Loading…
Cancel
Save