Mercurial > hg > NetworkVis
comparison query_builder/index.html @ 27:ed8b4e3f2a73
ISMI.HTML -- Better implementation of query boxes using Select2 on ismi.html, however when the first drop down is changed the ccorresponding one doesn't delete old data. select2('data', null) and similar methods of deleting has been unsuccessful so far
author | arussell |
---|---|
date | Wed, 02 Dec 2015 00:53:02 -0500 |
parents | 22be4ea663a7 |
children |
comparison
equal
deleted
inserted
replaced
26:22be4ea663a7 | 27:ed8b4e3f2a73 |
---|---|
109 beforeSend: function (xhr) { | 109 beforeSend: function (xhr) { |
110 xhr.setRequestHeader ("Authorization", "Basic " + btoa('neo4j' + ":" + 'neo5j')); | 110 xhr.setRequestHeader ("Authorization", "Basic " + btoa('neo4j' + ":" + 'neo5j')); |
111 }, | 111 }, |
112 success: function (res, textStatus, jqXHR) { | 112 success: function (res, textStatus, jqXHR) { |
113 console.log("success"); | 113 console.log("success"); |
114 console.log(res.data); | |
114 return res.data; | 115 return res.data; |
115 }, | 116 }, |
116 error: function (jqXHR, textStatus, errorThrown) { | 117 error: function (jqXHR, textStatus, errorThrown) { |
117 console.log("error"); | 118 console.log("error"); |
118 return null; | 119 return null; |