Keep defaults even when reediting web links that aren't using new window

This commit is contained in:
moodler 2003-08-27 07:21:48 +00:00
parent 2ff1e0d112
commit 0fbd1d3c02

View File

@ -111,6 +111,12 @@
if ($form->instance) { // Re-editing
if (!$form->alltext) {
$newwindow = "";
$window->resizable = "checked"; // Defaults
$window->scrollbars = "checked";
$window->status = "checked";
$window->location = "checked";
$window->width = 620;
$window->height = 450;
} else {
$newwindow = "checked";
$rawoptions = explode(',', $form->alltext);