This topic is locked

Build 185: Innova and Firefox problem

1/4/2007 10:35:57 AM
PHPRunner General questions
J
jacekq author

I've downloaded Innova Editor from your site, unziped it and run examples. All works fine in IE 6.0 and Firefox.

Then I've linked Innova into PHP Runner directories and made project with it.

There problems begun: all works fine with IE but in firefox, on the same screen, there are no controls of editor in textarea field!

Javascript reports 4 errors:

oTextArea has no properties editor.js (line 404):

line 404: oTextArea.style.display="none";

Sergey Kornilov admin 1/4/2007

Jacek,
thanks, will be fixed later today.

J
jacekq author 1/5/2007

I've found the problem: error in function BuildEditControl() of 'commonfunctions.php' file.

TEXTAREA should have 'name' and 'id' parameters but your original scripts sets only 'name'. It's OK for IE but not OK for Firefox.
You should modify line 1902 to:

echo "<textarea name='" . $cfield . "' id='" . $cfield . "' style='width: " . $nWidth . "px;height: " . $nHeight . "px;'>" . htmlspecialchars($value) . "</textarea>";
Best Rgds,

Jacek
PS

PHP Runner is great!

Sergey Kornilov admin 1/7/2007

Jacek,
fixed. Download build 197.