Summary | Horde_Editor::TinyMCE JS syntax error |
Queue | Horde Framework Packages |
Queue Version | HEAD |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | slusarz (at) horde (dot) org |
Requester | mclion (at) obala (dot) net |
Created | 02/06/2007 (6805 days ago) |
Due | |
Updated | 02/12/2007 (6799 days ago) |
Assigned | 02/06/2007 (6805 days ago) |
Resolved | 02/09/2007 (6802 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
array() before the loop and then try to do something with this empty
variable... maybe you didn't notice that you used the same name for a
temp variable as the input one...
array() before the loop and then try to do something with this empty
variable... maybe you didn't notice that you used the same name for a
temp variable as the input one...
State ⇒ Resolved
Assigned to Michael Slusarz
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Horde_Editor::TinyMCE JS syntax error
Queue ⇒ Horde Framework Packages
State ⇒ Unconfirmed
foreach ($params['config'] as $config => $value) {
$js .= 'tinyMCE.init({' . $config . ' : ' . '"' . $value . '"})';
}
this should be like this:
foreach ($params['config'] as $config => $value) {
$js .= 'tinyMCE.init({' . $config . ' : ' . '"' . $value . '"});'."\n";
}
So it's missing the ; or a new line or both...if someone specifies
more than one config value...