X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=js%2Fcommon.js;h=916011503adb49b45b25f0bc7d783904dc3cb2f2;hb=0c3193511e1ea50fad793887ede6ac5732d85074;hp=d961814bcde6aeff5c2b56ed63b80b68884feeca;hpb=efb9a24f2252104ab4af5c25334119d7c5c70a8c;p=kivitendo-erp.git diff --git a/js/common.js b/js/common.js index d961814bc..916011503 100644 --- a/js/common.js +++ b/js/common.js @@ -150,25 +150,6 @@ function focus_by_name(name){ } $(document).ready(function () { - // initialize all jQuery UI tab elements: - $(".tabwidget").each(function(idx, element) { - var $element = $(element); - var tabsParams = {}; - - var elementId = $element.attr('id'); - if( elementId ) { - var cookieName = 'jquery_ui_tab_'+ elementId; - - tabsParams.active = $.cookie(cookieName); - tabsParams.activate = function(event, ui) { - var i = ui.newTab.parent().children().index(ui.newTab); - $.cookie(cookieName, i); - }; - } - - $element.tabs(tabsParams); - }); - $('input').focus(function(){ if (focussable(this)) window.focused_element = this; });