if (getInitParam("theme") == "3pane") {
if (c_frame.offsetLeft > feeds_frame.offsetWidth + feeds_frame.offsetLeft + 100) {
- hor_offset = delta_x;
+ if (delta_x != undefined) {
+ hor_offset = delta_x;
+ }
}
debug("resize_headlines: HOR-mode");
- c_frame.style.width = (400+hor_offset) + "px";
+ c_frame.style.width = (400 + hor_offset) + "px";
h_frame.style.right = c_frame.offsetWidth - 1 + "px";
resize_grab.style.top = (h_frame.offsetTop + h_frame.offsetHeight - 60) + "px";
} else {
- ver_offset = delta_y;
+ if (delta_y != undefined) {
+ ver_offset = delta_y;
+ }
debug("resize_headlines: VER-mode");
Effect.Appear("hotkey_help_overlay", {duration : 0.3});
}
+ if (opid == "qmcResetUI") {
+ hor_offset = 0;
+ ver_offset = 0;
+ resize_headlines();
+ }
+
} catch (e) {
exception_error("quickMenuGo", e);
}
<option disabled>--------</option>
<option style="color : #5050aa" disabled><?php echo __('Other actions:') ?></option>
<option value="qmcAddFilter"><?php echo __(' Create filter') ?></option>
+ <option value="qmcResetUI"><?php echo __(' Reset UI layout') ?></option>
+
<option value="qmcHKhelp"><?php echo __(' Keyboard shortcuts') ?></option>
</select>
</div>