- Fix tabs in folder edit page (broken with devel-addressbook merge)

release-0.6
alecpl 14 years ago
parent f572575652
commit 5744bfa54d

@ -37,7 +37,7 @@ function rcube_init_tabs(id, current)
fs.each(function(idx) { if (idx != current) $(this).hide(); }); fs.each(function(idx) { if (idx != current) $(this).hide(); });
// create tabs container // create tabs container
var tabs = $('<div>').addClass('tabsbar').appendTo($(content)); var tabs = $('<div>').addClass('tabsbar').appendTo(content);
// convert fildsets into tabs // convert fildsets into tabs
fs.each(function(idx) { fs.each(function(idx) {

@ -18,7 +18,7 @@
<roundcube:button command="save" type="input" class="button mainaction" label="save" /> <roundcube:button command="save" type="input" class="button mainaction" label="save" />
</p> </p>
</div> </div>
<script type="text/javascript">rcube_init_tabs('folder-details')</script> <script type="text/javascript">rcube_init_tabs('folder-details > form')</script>
</body> </body>
</html> </html>

Loading…
Cancel
Save