www/js/global.js

changeset 228
98536f6539ee
parent 221
a8aabb63fbcc
child 230
8edca0488e65
equal deleted inserted replaced
227:fd6d87d1c9ed 228:98536f6539ee
693 url: "includes/db_profile_water.php" 693 url: "includes/db_profile_water.php"
694 }; 694 };
695 var waterprofiles = new $.jqx.dataAdapter(waterProfileSource); 695 var waterprofiles = new $.jqx.dataAdapter(waterProfileSource);
696 696
697 // dropdownlist datasource from profile_mash 697 // dropdownlist datasource from profile_mash
698 var mashInvSource = { 698 var mashProfileSource = {
699 datatype: "json", 699 datatype: "json",
700 datafields: [ 700 datafields: [
701 { name: 'record', type: 'number' }, 701 { name: 'record', type: 'number' },
702 { name: 'name', type: 'string' }, 702 { name: 'name', type: 'string' },
703 { name: 'steps', type: 'array' } 703 { name: 'steps', type: 'array' }
704 ], 704 ],
705 url: "include/db_profile_mash.php" 705 url: "includes/db_profile_mash.php"
706 }; 706 };
707 var mashlist = new $.jqx.dataAdapter(mashInvSource); 707 var mashlist = new $.jqx.dataAdapter(mashProfileSource);
708 708
709 709
710 710
711 function getLocalization() { 711 function getLocalization() {
712 var localizationobj = {}; 712 var localizationobj = {};

mercurial