From: Jan Schneider Date: Mon, 8 Jun 2009 12:53:06 +0000 (+0200) Subject: Use better tags field name. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=aa0841f6d02d23e7d055909c5b6f1e5da2627fcd;p=horde.git Use better tags field name. --- diff --git a/kronolith/index.php b/kronolith/index.php index e990d366b..6ba62768f 100644 --- a/kronolith/index.php +++ b/kronolith/index.php @@ -65,5 +65,5 @@ require KRONOLITH_TEMPLATES . '/index/index.inc'; Kronolith::includeScriptFiles(); Kronolith::outputInlineScript(); $notification->notify(array('listeners' => array('javascript'))); -Kronolith_Imple::factory('TagAutoCompleter', array('triggerId' => 'tags', 'pretty' => true)); +Kronolith_Imple::factory('TagAutoCompleter', array('triggerId' => 'kronolithEventTags', 'pretty' => true)); echo "\n"; diff --git a/kronolith/js/src/kronolith.js b/kronolith/js/src/kronolith.js index 3c67d4fbe..17dc4e1b3 100644 --- a/kronolith/js/src/kronolith.js +++ b/kronolith/js/src/kronolith.js @@ -1682,7 +1682,7 @@ KronolithCore = { return; case 'kronolithEventTag': - $('tags').autocompleter.addNewItemNode(elt.getText()); + $('kronolithEventTags').autocompleter.addNewItemNode(elt.getText()); e.stop(); return; } @@ -1747,7 +1747,7 @@ KronolithCore = { RedBox.onDisplay = null; }; - $('tags').autocompleter.init(); + $('kronolithEventTags').autocompleter.init(); $('kronolithEventForm').enable(); $('kronolithEventForm').reset(); this.doAction('ListTopTags', {}, this._topTags); @@ -1829,7 +1829,7 @@ KronolithCore = { $('kronolithEventStartTime').value = ev.st; $('kronolithEventEndDate').value = ev.ed; $('kronolithEventEndTime').value = ev.et; - $('tags').autocompleter.init(ev.tg); + $('kronolithEventTags').autocompleter.init(ev.tg); if (ev.r) { // @todo: refine $A($('kronolithEventRecurrence').options).find(function(option) { diff --git a/kronolith/templates/index/edit.inc b/kronolith/templates/index/edit.inc index 221bc5fbd..6ebea73bc 100644 --- a/kronolith/templates/index/edit.inc +++ b/kronolith/templates/index/edit.inc @@ -61,8 +61,8 @@

- - + +