[Tickets #5068] Adding bookmarks with new folder doesn't work in HEAD
bugs at bugs.horde.org
bugs at bugs.horde.org
Tue Mar 6 09:01:28 UTC 2007
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=5068
-----------------------------------------------------------------------
Ticket | 5068
Created By | panni at fragstore.net
Summary | Adding bookmarks with new folder doesn't work in HEAD
Queue | Trean
Type | Bug
State | Unconfirmed
Priority | 3. High
Owners |
-----------------------------------------------------------------------
panni at fragstore.net (2007-03-06 01:01) wrote:
Fatal error: Call to undefined method PEAR_Error::addBookmark() in
/var/www/horde/trean/add.php on line 57
Results from the javascript addBookmark() in add/add.inc, which refers to
the form SELECT field "selected_folder", which has obviously been renamed
to "f".
--- /home/horde/trean/templates/add/add.inc 2007-02-05
11:35:25.000000000 +0100
+++ trean/templates/add/add.inc 2007-03-06 09:54:58.000000000 +0100
@@ -1,13 +1,13 @@
<script type="text/javascript">
function addBookmark() {
- if (document.bookmark.selected_folder.value == '*new*') {
+ if (document.bookmark.f.value == '*new*') {
var newFolder = window.prompt('<?php echo addslashes(_("Please
enter a name for the new folder:")) ?>\n', '');
if (newFolder != null && newFolder != '') {
document.bookmark.newFolder.value = newFolder;
document.bookmark.submit();
}
} else {
- if (document.bookmark.selected_folder.value == '') {
+ if (document.bookmark.f.value == '') {
window.alert('<?php echo addslashes(_("You must select a
target folder first")) ?>');
} else {
document.bookmark.submit();
More information about the bugs
mailing list