Skip to content

Commit

Permalink
library tweaks; v13.02 ready?
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Hechenberger committed Feb 17, 2013
1 parent d828746 commit 701309d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@


APPNAME = "lasaurapp"
VERSION = "13.01"
VERSION = "13.02"
COMPANY_NAME = "com.nortd.labs"
SERIAL_PORT = None
BITSPERSECOND = 57600
Expand Down
4 changes: 3 additions & 1 deletion frontend/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,9 @@ $(document).ready(function(){
hardware_ready_state = true;
$("#connect_btn").html("Ready");
} else {
$("#connect_btn").html("Busy");
if (data.serial_connected) {
$("#connect_btn").html("Busy");
}
hardware_ready_state = false;
}

Expand Down
3 changes: 3 additions & 0 deletions frontend/js/app_laserjobs.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ $(document).ready(function(){

// populate library from library directory
$.getJSON("/library/list", function(data) {
if (typeof(data.sort) == 'function') {
data.sort();
}
$.each(data, function(index, name) {
$('#gcode_library').prepend('<li><a href="#">'+ name +'</a></li>');
});
Expand Down

0 comments on commit 701309d

Please sign in to comment.