Permalink
Browse files

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

  • Loading branch information...
moodler
moodler committed Aug 27, 2003
1 parent 2ff1e0d commit 0fbd1d3c0202d5e9967bc5b24689b73cb653d289
Showing with 6 additions and 0 deletions.
  1. +6 −0 mod/resource/details.php
View
@@ -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);

0 comments on commit 0fbd1d3

Please sign in to comment.