|
|
@ -179,7 +179,6 @@
|
|
|
|
commitEl.innerHTML = 'Moving <i class="icon-spin icon-refresh"></i>';
|
|
|
|
commitEl.innerHTML = 'Moving <i class="icon-spin icon-refresh"></i>';
|
|
|
|
|
|
|
|
|
|
|
|
socket.once('api:topic.move', function(data) {
|
|
|
|
socket.once('api:topic.move', function(data) {
|
|
|
|
console.log(data);
|
|
|
|
|
|
|
|
moveThreadModal.modal('hide');
|
|
|
|
moveThreadModal.modal('hide');
|
|
|
|
if (data.status === 'ok') {
|
|
|
|
if (data.status === 'ok') {
|
|
|
|
app.alert({
|
|
|
|
app.alert({
|
|
|
@ -286,6 +285,10 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
socket.on('event:topic_moved', function(data) {
|
|
|
|
|
|
|
|
if (data && data.tid > 0) ajaxify.go('topic/' + data.tid);
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
function adjust_rep(value, pid, uid) {
|
|
|
|
function adjust_rep(value, pid, uid) {
|
|
|
|
var post_rep = jQuery('.post_rep_' + pid),
|
|
|
|
var post_rep = jQuery('.post_rep_' + pid),
|
|
|
|
user_rep = jQuery('.user_rep_' + uid);
|
|
|
|
user_rep = jQuery('.user_rep_' + uid);
|
|
|
|