33 lines
No EOL
1.1 KiB
Text
33 lines
No EOL
1.1 KiB
Text
@using Kreta.Framework;
|
|
@using Kreta.Web.Areas.Orarend.Models;
|
|
@using Kreta.Web.Helpers
|
|
@using Kreta.Web.Classes
|
|
@model TanoraNaplozasInfoTabok
|
|
@{
|
|
Layout = null;
|
|
}
|
|
|
|
<script>
|
|
var Naplozashelper = (function () {
|
|
var naplozashelper = function () { };
|
|
|
|
$("#" + Tanorak.tanoraMuveletWindow).data("kendoWindow").bind("refresh", function () { $("#" + Tanorak.tanoraMuveletWindow).data("kendoWindow").title("@Model.Fejlec"); });
|
|
|
|
naplozashelper.OnSelect = function (tab) {
|
|
if (tab.item.id == "Info_HaziFeladat_Tab" && typeof (HazifeladatHelper) !== "undefined" && document.getElementById("HaziFeladat")) {
|
|
HazifeladatHelper.onTabActiv();
|
|
}
|
|
if (tab.item.id == "2" && typeof (ErtekelesHelper) !== "undefined") {
|
|
ErtekelesHelper.onTabActiv();
|
|
}
|
|
}
|
|
|
|
return naplozashelper;
|
|
})();
|
|
</script>
|
|
|
|
<div id="tabTemplate">
|
|
@Html.Partial(@"EditorTemplates\TabStrip", Model.TabList)
|
|
</div>
|
|
|
|
@Html.KretaTabStrip("tabTemplate").Animation(false).Events(e => e.Select("Naplozashelper.OnSelect")).RenderOnModal() |