more magical octopart button prototype (temporarily disabled)
This commit is contained in:
@@ -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();
|
||||
// }
|
||||
// });
|
||||
});
|
||||
Reference in New Issue
Block a user