public/assets/js/custom_js/LocationListIndex.js
// Init Postal Tab Kendo Dropdown As Well As Inner TabStripe
Init Postal Tab Kendo Dropdown As Well As Inner TabStripe
Init Postal Tab Kendo Dropdown As Well As Inner TabStripe
function postalInitialize(parentId) {
    $("#street_number_" + parentId).kendoComboBox({
        dataTextField: "text",
        dataValueField: "value",
        dataSource: [{
            text: "None",
            value: "-1"
        }]
    }).data("kendoComboBox");
    $("#route_" + parentId).kendoComboBox({
        dataTextField: "text",
        dataValueField: "value",
        dataSource: [{
            text: "None",
            value: "-1"
        }]
    }).data("kendoComboBox");
    $("#neighborhood_" + parentId).kendoComboBox({
        dataTextField: "text",
        dataValueField: "value",
        dataSource: [{
            text: "None",
            value: "-1"
        }]
    }).data("kendoComboBox");
    $("#postcode_" + parentId).kendoComboBox({
        dataTextField: "text",
        dataValueField: "value",
        dataSource: [{
            text: "None",
            value: "-1"
        }]
    }).data("kendoComboBox");
    setTimeout(function(){
        $("#postal_"+parentId+" > .tab-content > .innertab").kendoTabStrip().data("kendoTabStrip");
    },50);
}
function postalInitialize ( parentId ) { $ ( "#street_number_" + parentId ) . kendoComboBox ( { dataTextField : "text" , dataValueField : "value" , dataSource : [ { text : "None" , value : "-1" } ] } ) . data ( "kendoComboBox" ) ; $ ( "#route_" + parentId ) . kendoComboBox ( { dataTextField : "text" , dataValueField : "value" , dataSource : [ { text : "None" , value : "-1" } ] } ) . data ( "kendoComboBox" ) ; $ ( "#neighborhood_" + parentId ) . kendoComboBox ( { dataTextField : "text" , dataValueField : "value" , dataSource : [ { text : "None" , value : "-1" } ] } ) . data ( "kendoComboBox" ) ; $ ( "#postcode_" + parentId ) . kendoComboBox ( { dataTextField : "text" , dataValueField : "value" , dataSource : [ { text : "None" , value : "-1" } ] } ) . data ( "kendoComboBox" ) ; setTimeout ( function ( ) { $ ( "#postal_" + parentId + " > .tab-content > .innertab" ) . kendoTabStrip ( ) . data ( "kendoTabStrip" ) ; } , 50 ) ; }
Init Postal Tab Kendo Dropdown As Well As Inner TabStripe
Init Postal Tab Kendo Dropdown As Well As Inner TabStripe