[minor] re-enabled ENANO_DANGEROUS on install.php (oops!); made textarea in page editor focus automatically
authorDan
Fri, 08 Feb 2008 12:16:43 -0500
changeset 405 adb7f8de8ce1
parent 404 fb4f9e6f378f
child 406 7468a663315f
[minor] re-enabled ENANO_DANGEROUS on install.php (oops!); made textarea in page editor focus automatically
includes/clientside/static/editor.js
install/install.php
--- a/includes/clientside/static/editor.js	Thu Feb 07 15:45:44 2008 -0500
+++ b/includes/clientside/static/editor.js	Fri Feb 08 12:16:43 2008 -0500
@@ -398,6 +398,7 @@
   {
     $dynano('ajaxEditArea').switchToMCE();
   }
+  $dynano('ajaxEditArea').object.focus();
 }
 
 function ajaxEditorSave()
--- a/install/install.php	Thu Feb 07 15:45:44 2008 -0500
+++ b/install/install.php	Fri Feb 08 12:16:43 2008 -0500
@@ -18,7 +18,7 @@
 
 define('IN_ENANO', 1);
 // DEFINE THIS BEFORE RELEASE!
-//define('ENANO_DANGEROUS', 1);
+define('ENANO_DANGEROUS', 1);
 
 require_once('includes/common.php');
 @ini_set('display_errors', 'on');