|
|
@ -242,6 +242,8 @@ function container_onchange() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function octopartFetch(){
|
|
|
|
function octopartFetch(){
|
|
|
|
$.getJSON(rootURL + 'fetchOctopartSnippet/' + $('#partno-input').val()).done(function(json){
|
|
|
|
$.getJSON(rootURL + 'fetchOctopartSnippet/' + $('#partno-input').val()).done(function(json){
|
|
|
|
if (json['result']=='ok'){
|
|
|
|
if (json['result']=='ok'){
|
|
|
@ -268,4 +270,10 @@ $(document).ready(function() {
|
|
|
|
else
|
|
|
|
else
|
|
|
|
perform_query();
|
|
|
|
perform_query();
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// $('#partno-input').bind('blur',function() {
|
|
|
|
|
|
|
|
// if($('#partno-input').val().length > 0){
|
|
|
|
|
|
|
|
// octopartFetch();
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
// });
|
|
|
|
});
|
|
|
|
});
|