From: Michael J. Rubinsky Date: Sat, 31 Jan 2009 17:21:46 +0000 (-0500) Subject: Don't assume the dom id of the results node should have the X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=b0938c87208341f48fab9bb233003f735483a113;p=horde.git Don't assume the dom id of the results node should have the resource id tacked on at the end. --- diff --git a/kronolith/lib/Imple/TagAutoCompleter.php b/kronolith/lib/Imple/TagAutoCompleter.php index 09e572ce7..b9537bac1 100644 --- a/kronolith/lib/Imple/TagAutoCompleter.php +++ b/kronolith/lib/Imple/TagAutoCompleter.php @@ -25,7 +25,7 @@ class Kronolith_Imple_TagAutoCompleter extends Kronolith_Imple if (!count($params)) { return; } - $params['triggerId'] = $params['triggerId'] . '_' . $params['id']; + //$params['triggerId'] = $params['triggerId'] . '_' . $params['id']; if (empty($params['resultsId'])) { $params['resultsId'] = $params['triggerId'] . '_results'; } diff --git a/kronolith/templates/panel.inc b/kronolith/templates/panel.inc index 126ca8fb3..a936eba6a 100644 --- a/kronolith/templates/panel.inc +++ b/kronolith/templates/panel.inc @@ -74,7 +74,7 @@ $tagger = new Kronolith_Tagger();
'newtags-input', 'id' => $id)); + Kronolith_Imple::factory('TagAutoCompleter', array('triggerId' => 'newtags-input_' . $id, 'id' => $id)); Kronolith_Imple::factory('TagActions', array('triggerId' => 'newtags-button', 'resource' => $id, 'type' => 'calendar',