28 lines
519 B
JavaScript
28 lines
519 B
JavaScript
"use strict";
|
|
|
|
// Class definition
|
|
var KTStoreView = function () {
|
|
// Shared variables
|
|
var id_structure
|
|
|
|
// Init store view page
|
|
var initStoreView = () => {
|
|
|
|
console.log("ID"+id_structure);
|
|
}
|
|
|
|
return {
|
|
// Public functions
|
|
init: function () {
|
|
// Elements
|
|
id_structure = KTUtil.getURLParam("id_structure");
|
|
|
|
initStoreView();
|
|
}
|
|
};
|
|
}();
|
|
|
|
// On document ready
|
|
KTUtil.onDOMContentLoaded(function () {
|
|
KTStoreView.init();
|
|
}); |