Seje občinskega sveta

'); } else // če ustrezen tab ne obstaja { $("#category0").find(".progressive-loading").html('
'); } } else { $(".postslist > .tab-pane").html('
'); } $.ajax({ url: "/GetPosts", type: "POST", cache: false, data: { page: $("#current_page").val(), keywords: $("#filter_keywords").val(), region_id: $("#drpRegije").val(), eo_id: 58, subitem_id: $("#subitemId").val(), municipality_id: $("#drpObcine").val(), category_id: $("#category_id").val(), category2_id: $("#category2_id").val(), subcategory: $("#drpSubCategories").val(), subcategory2: '', subcategory3: $("#drpSubCategories3").val(), mandateId: $("#mandateId").val(), highlighted: $("#highlighted").val(), inline: false, datum_objave: ($("#datum_objave").val() != "" ? moment($("#datum_objave").val(), "DD.MM.YYYY").toISOString() : "") }, success: function (response) { var current_tab = ($("#current_tab").val() != '' ? $("#current_tab").val() : 0); if ($("#tabs > li > a[data-id='category" + current_tab + "']").length > 0) { if (progressiveLoading == false) { $("#category" + current_tab).html(response); } else { $("#category" + current_tab).find(".progressive-loading").hide(); $("#category" + current_tab).html($("#category" + current_tab).html() + response); } } else // če ustrezen tab ne obstaja { if (progressiveLoading == false) { $("#category0").html(response); } else { $("#category0").find(".progressive-loading").hide(); $("#category0").html($("#category0").html() + response); } } } }); } $(function () { initBootstrapTooltips(); $('#tabs a[href="#category0"]').tab('show'); UpdateList(); });