Skip to content
Snippets Groups Projects
Commit a4b77c8e authored by Amanda Ghassaei's avatar Amanda Ghassaei
Browse files

small changes

parent 1331955e
No related branches found
No related tags found
No related merge requests found
...@@ -14,7 +14,7 @@ define(['jquery', 'underscore', 'commParentMenu', 'serialComm', 'text!SerialMoni ...@@ -14,7 +14,7 @@ define(['jquery', 'underscore', 'commParentMenu', 'serialComm', 'text!SerialMoni
}, },
events: { events: {
"click #clearMonitor": "render", "click #clearMonitor": "_clear",
"change input:checkbox": "_clickCheckbox" "change input:checkbox": "_clickCheckbox"
}, },
...@@ -95,6 +95,11 @@ define(['jquery', 'underscore', 'commParentMenu', 'serialComm', 'text!SerialMoni ...@@ -95,6 +95,11 @@ define(['jquery', 'underscore', 'commParentMenu', 'serialComm', 'text!SerialMoni
if (this.model.get("autoscroll")) $output.animate({scrollTop:$output.scrollTop()+$output.innerHeight()}, "fast"); if (this.model.get("autoscroll")) $output.animate({scrollTop:$output.scrollTop()+$output.innerHeight()}, "fast");
}, },
_clear: function(e){
e.preventDefault();
this.render();
},
_close: function(){ _close: function(){
window.close(); window.close();
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment