diff --git a/appsubmit.php b/appsubmit.php index 0b6dbf4..aea6195 100644 --- a/appsubmit.php +++ b/appsubmit.php @@ -61,7 +61,8 @@ if (isset($_REQUEST['appName'])) if($vendorName) $_REQUEST['vendorId']=""; $oApplication = new Application(); - $oApplication->create($_REQUEST['appName'], $_REQUEST['appDescription'], $_REQUEST['keywords']." *** ".$_REQUEST['vendorName'], $_REQUEST['webpage'],$_REQUEST['vendorId'], $_REQUEST['catId']); +// FIXME When two htmlarea will be able to live on the same page without problems under gecko, remove the
around appDescrion + $oApplication->create($_REQUEST['appName'], "".$_REQUEST['appDescription']."
", $_REQUEST['keywords']." *** ".$_REQUEST['vendorName'], $_REQUEST['webpage'],$_REQUEST['vendorId'], $_REQUEST['catId']); $oVersion = new Version(); $oVersion->create($_REQUEST['versionName'], $_REQUEST['versionDescription'], null, null, $oApplication->iAppId); redirect(apidb_fullurl("index.php")); @@ -109,18 +110,20 @@ function initDocument() { "inserthorizontalrule", "createlink", "inserttable" ] ]; config.width = 700; - var editor = new HTMLArea("editor",config); - editor.config.pageStyle = "@import url(./application.css);"; - editor.registerPlugin(DynamicCSS); - editor.generate(); + config.pageStyle = "@import url(./application.css);"; +// FIXME: when both editors and stylesheets are used, sometimes one of the editor is readonly under gecko +// var editor = new HTMLArea("editor",config); +// editor.registerPlugin(DynamicCSS); var editor2 = new HTMLArea("editor2",config); - editor2.config.pageStyle = "@import url(./application.css);"; editor2.generate(); + editor2.registerPlugin(DynamicCSS); +// FIXME: when both editors and stylesheets are used, sometimes one of the editor is readonly under gecko +// editor.generate(); } onload = function() { @@ -136,7 +139,7 @@ onload = function() { * Templates * FIXME: put templates in config file or somewhere else. */ - $sAppDescription = "Enter description here
"; + //$sAppDescription = "Enter description here
"; $sVersionDescription = "This is a template; enter version-specific description here
Wine compatibility