| 181 | | ajaxload("view"); |
| 182 | | $.ajax({ |
| 183 | | type: "GET", |
| 184 | | url : getPathListURL, |
| 185 | | data: { |
| 186 | | ep: sel, |
| 187 | | startclass: selstart, |
| 188 | | endclass: selend |
| 189 | | }, |
| 190 | | dataType: 'text', |
| 191 | | success : function(nodes) { |
| 192 | | jsontext = nodes; |
| 193 | | pathlimit = 10; |
| 194 | | view_map(); |
| 195 | | ajaxload("hide"); |
| 196 | | document.getElementById("graph").style.top = document.getElementById("menu").offsetHeight + "px"; |
| 197 | | document.getElementById("ajaxload").style.height = document.getElementById("menu").offsetHeight + "px"; |
| 198 | | }, |
| 199 | | error : function(XMLHttpRequest, textStatus, errorThrown) { |
| 200 | | alert("繝ェ繧ッ繧ィ繧ケ繝域凾縺ォ縺ェ繧薙i縺九�繧ィ繝ゥ繝シ縺檎匱逕溘@縺セ縺励◆�� + textStatus +":\n" + errorThrown); |
| 201 | | ajaxload("hide"); |
| 202 | | } |
| 203 | | }); |
| | 183 | if(selstart != "startclass" && selend != "endclass"){ |
| | 184 | |
| | 185 | document.getElementById("selectpath").innerHTML = ""; |
| | 186 | document.getElementById("showpath").style.display = "none"; |
| | 187 | |
| | 188 | ajaxload("view"); |
| | 189 | $.ajax({ |
| | 190 | type: "GET", |
| | 191 | url : getPathListURL, |
| | 192 | data: { |
| | 193 | ep: sel, |
| | 194 | startclass: selstart, |
| | 195 | endclass: selend |
| | 196 | }, |
| | 197 | dataType: 'text', |
| | 198 | success : function(nodes) { |
| | 199 | jsontext = nodes; |
| | 200 | pathlimit = 10; |
| | 201 | view_map(); |
| | 202 | ajaxload("hide"); |
| | 203 | document.getElementById("graph").style.top = document.getElementById("menu").offsetHeight + "px"; |
| | 204 | document.getElementById("ajaxload").style.height = document.getElementById("menu").offsetHeight + "px"; |
| | 205 | }, |
| | 206 | error : function(XMLHttpRequest, textStatus, errorThrown) { |
| | 207 | alert("繝ェ繧ッ繧ィ繧ケ繝域凾縺ォ縺ェ繧薙i縺九�繧ィ繝ゥ繝シ縺檎匱逕溘@縺セ縺励◆�� + textStatus +":\n" + errorThrown); |
| | 208 | ajaxload("hide"); |
| | 209 | } |
| | 210 | }); |
| | 211 | } |