summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-02-20 12:42:01 +0000
committeralecpl <alec@alec.pl>2011-02-20 12:42:01 +0000
commit5744bfa54de0baacbf788bc30aacce3cd1089b9c (patch)
tree3049b3e40dcfacea30ad5619ae1e67cb1c53f5ed
parentf572575652b33025a17264dce9abe9a9219dfbc1 (diff)
- Fix tabs in folder edit page (broken with devel-addressbook merge)
-rw-r--r--skins/default/functions.js2
-rw-r--r--skins/default/templates/folderedit.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/skins/default/functions.js b/skins/default/functions.js
index 349782627..e48203eea 100644
--- a/skins/default/functions.js
+++ b/skins/default/functions.js
@@ -37,7 +37,7 @@ function rcube_init_tabs(id, current)
fs.each(function(idx) { if (idx != current) $(this).hide(); });
// create tabs container
- var tabs = $('<div>').addClass('tabsbar').appendTo($(content));
+ var tabs = $('<div>').addClass('tabsbar').appendTo(content);
// convert fildsets into tabs
fs.each(function(idx) {
diff --git a/skins/default/templates/folderedit.html b/skins/default/templates/folderedit.html
index 78ddd335e..c5fa2490f 100644
--- a/skins/default/templates/folderedit.html
+++ b/skins/default/templates/folderedit.html
@@ -18,7 +18,7 @@
<roundcube:button command="save" type="input" class="button mainaction" label="save" />
</p>
</div>
-<script type="text/javascript">rcube_init_tabs('folder-details')</script>
+<script type="text/javascript">rcube_init_tabs('folder-details > form')</script>
</body>
</html>