more magical octopart button prototype (temporarily disabled)

This commit is contained in:
2018-11-13 22:09:34 +01:00
parent 3cb81e9a79
commit 227e725e95
+8
View File
@@ -242,6 +242,8 @@ function container_onchange() {
}
function octopartFetch(){
$.getJSON(rootURL + 'fetchOctopartSnippet/' + $('#partno-input').val()).done(function(json){
if (json['result']=='ok'){
@@ -268,4 +270,10 @@ $(document).ready(function() {
else
perform_query();
});
// $('#partno-input').bind('blur',function() {
// if($('#partno-input').val().length > 0){
// octopartFetch();
// }
// });
});