Skip to content

Commit

Permalink
always load settings on tab change
Browse files Browse the repository at this point in the history
  • Loading branch information
MoonshineSG committed Aug 5, 2016
1 parent 6a825b0 commit 536ae2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion octoprint_multi_colors/static/js/multi_colors.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ $(function() {
if ( self.printer.sd() ) {
self.message(self.NO_SD);
} else {
self._sendData({"command":"settings"}, function(data){ self.gcode(data.gcode); self.find_string(data.find_string)});
self._update(self.printer.filename());
}
self._sendData({"command":"settings"}, function(data){ self.gcode(data.gcode); self.find_string(data.find_string)});
}
}

Expand Down

0 comments on commit 536ae2f

Please sign in to comment.