}
function roomListDropHandler(target, dropped) {
- if (dropped.ctdlMsgId) {
+ if (dropped.getAttribute("citadel:msgid")) {
var room = getTextContent(target);
var msgIds = "";
for(msgId in currentlyMarkedRows) { //defined in summaryview.js
divTop = parseInt(d.style.height);
divLeft = parseInt(d.style.width);
- d.style.height = (divTop + y_increment) + 'px';
- d.style.width = (divLeft + x_increment) + 'px';
+ newHeight = divTop + y_increment;
+ if (newHeight < 50) newHeight = 50;
+
+ newWidth = divLeft + x_increment;
+ if (newWidth < 50) newWidth = 50;
+
+ d.style.height = newHeight + 'px';
+ d.style.width = newWidth + 'px';
saved_x = x;
saved_y = y;
global.style.width = newContentSize+"px";
}
}
+
+function RefreshSMTPqueueDisplay() {
+ new Ajax.Updater('smtpqueue_inner_div',
+ 'display_smtpqueue_inner_div', { method: 'get',
+ parameters: Math.random() } );
+}
+
+function DeleteSMTPqueueMsg(msgnum1, msgnum2) {
+ new Ajax.Request(
+ 'ajax_servcmd', {
+ method: 'post',
+ parameters: 'g_cmd=DELE ' + msgnum1 + ',' + msgnum2,
+ onComplete: RefreshSMTPqueueDisplay()
+ }
+ );
+}