Skip to content

Commit

Permalink
[jan] Restore BC with incorrect parameter usage of Horde_PageOutput::…
Browse files Browse the repository at this point in the history
…addInlineScript() (Bug #14597).
  • Loading branch information
yunosh committed Mar 20, 2017
1 parent 7140972 commit 16104d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions framework/Core/lib/Horde/PageOutput.php
Expand Up @@ -327,6 +327,8 @@ public function outputInlineScript($raw = false)
if (!$raw && $key) {
switch ($key) {
case 'prototype':
// @todo Remove 'dom' which is here for BC only.
case 'dom':
$script[] = 'document.observe("dom:loaded",function(){' . $val . '});';
break;
case 'jquery':
Expand Down
4 changes: 2 additions & 2 deletions framework/Core/package.xml
Expand Up @@ -39,7 +39,7 @@
</stability>
<license uri="http://www.horde.org/licenses/lgpl21">LGPL-2.1</license>
<notes>
*
* [jan] Restore BC with incorrect parameter usage of Horde_PageOutput::addInlineScript() (Bug #14597).
</notes>
<contents>
<dir baseinstalldir="/" name="/">
Expand Down Expand Up @@ -4404,7 +4404,7 @@
<date>2017-03-20</date>
<license uri="http://www.horde.org/licenses/lgpl21">LGPL-2.1</license>
<notes>
*
* [jan] Restore BC with incorrect parameter usage of Horde_PageOutput::addInlineScript() (Bug #14597).
</notes>
</release>
</changelog>
Expand Down

0 comments on commit 16104d8

Please sign in to comment.