/[projects]/dao/DaoAdresseVedligehold/src/main/webapp/index.html
ViewVC logotype

Diff of /dao/DaoAdresseVedligehold/src/main/webapp/index.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2926 by torben, Thu Feb 4 22:00:00 2016 UTC revision 2927 by torben, Fri Feb 5 11:01:48 2016 UTC
# Line 155  $(document).ready( function() { Line 155  $(document).ready( function() {
155                          alert("Du skal vælge distributør");                          alert("Du skal vælge distributør");
156                          return;                          return;
157                  }                  }
158                    var type = $("#afstand_type").val();
159                    var url = "rest/commands/distancecalculation/" + dist + "/" + type;
160                                    
161                                    
162                  $.get("rest/commands/distancecalculation/" + dist, function() {                  $.get(url, function() {
163                          loadTasks(); //Force reload of tasks immediately                          loadTasks(); //Force reload of tasks immediately
164                  } );                  } );
165                                    
# Line 243  $(document).ready( function() { Line 245  $(document).ready( function() {
245                              <option>BK</option>                              <option>BK</option>
246                              <option>DAO</option>                              <option>DAO</option>
247                            </select>                            </select>
248    
249                              
250                              <label for="type">Type:</label>
251                              <select class="form-control" id="afstand_type" name="afstand_type">
252                                <option>Incremental</option>
253                                <option>Full</option>                          
254                              </select>
255                            <br>                            <br>
256    
257                                                        
258                            <button class="btn btn-primary" id="afstandBtn">Beregn</button>                            <button class="btn btn-primary" id="afstandBtn">Beregn</button>
259        

Legend:
Removed from v.2926  
changed lines
  Added in v.2927

  ViewVC Help
Powered by ViewVC 1.1.20