init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,33 @@
|
|||
@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()
|
Loading…
Add table
Add a link
Reference in a new issue