Changeset 6722 for extensions/AMetaData/admin/amd_metadata_database.tpl
- Timestamp:
- Jul 28, 2010, 10:48:17 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/AMetaData/admin/amd_metadata_database.tpl
r5959 r6722 34 34 function getStatus() 35 35 { 36 data=$.ajax( 37 { 38 type: "POST", 39 url: "{/literal}{$datas.urlRequest}{literal}", 40 async: false, 41 data: { ajaxfct:"makeStatsGetStatus" } 42 } 43 ).responseText; 44 45 list=data.split(";"); 46 $("#ianalyzestatus").html("<ul><li>"+list[0]+"</li><li>"+list[1]+"</li><li>"+list[2]+"</li></ul>"); 36 $.ajax( 37 { 38 type: "POST", 39 url: "{/literal}{$datas.urlRequest}{literal}", 40 async: true, 41 data: { ajaxfct:"admin.makeStats.getStatus" }, 42 success: function (msg) { 43 list=msg.split(";"); 44 $("#ianalyzestatus").html("<ul><li>"+list[0]+"</li><li>"+list[1]+"</li><li>"+list[2]+"</li></ul>"); 45 } 46 } 47 ); 47 48 } 48 49 … … 103 104 url: "{/literal}{$datas.urlRequest}{literal}", 104 105 async: true, 105 data: { ajaxfct:" makeStatsGetList", selectMode:mode, numOfItems:NumberOfItemsPerRequest },106 data: { ajaxfct:"admin.makeStats.getList", selectMode:mode, numOfItems:NumberOfItemsPerRequest }, 106 107 success: function(msg) 107 108 { … … 133 134 if(processAnalyze.step < processAnalyze.lists.length) 134 135 { 135 tmp =$.ajax({136 $.ajax({ 136 137 type: "POST", 137 138 url: "{/literal}{$datas.urlRequest}{literal}", 138 139 async: true, 139 data: { ajaxfct:" makeStatsDoAnalyze", imagesList:processAnalyze.lists[processAnalyze.step] },140 data: { ajaxfct:"admin.makeStats.doAnalyze", imagesList:processAnalyze.lists[processAnalyze.step] }, 140 141 success: function(msg) 141 142 { … … 152 153 { 153 154 // list completely processed 154 155 155 tmp = $.ajax({ 156 156 type: "POST", 157 157 url: "{/literal}{$datas.urlRequest}{literal}", 158 158 async: false, 159 data: { ajaxfct:" makeStatsConsolidation" }159 data: { ajaxfct:"admin.makeStats.consolidate" } 160 160 }).responseText; 161 162 161 163 162 processAnalyze.timeEnd = new Date(); 164 163 timeElapsed=processAnalyze.timeEnd.getTime()-processAnalyze.timeStart.getTime(); 165 166 164 167 165 $("#dialog")
Note: See TracChangeset
for help on using the changeset viewer.