more magical octopart button prototype (temporarily disabled)

pull/3/head
Marek Baczynski 6 years ago
parent 3cb81e9a79
commit 227e725e95

@ -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();
// }
// });
});
Loading…
Cancel
Save