summaryrefslogtreecommitdiff
path: root/scripts/robot.js
diff options
context:
space:
mode:
authorOwen <despito@MacBook-Pro-de-Despito.local>2014-08-05 17:14:01 +0300
committerOwen <despito@MacBook-Pro-de-Despito.local>2014-08-05 17:14:01 +0300
commitd81197849358f2482dbb46113f87beedee02f072 (patch)
treec0807331a2bd4aade55f2f877a08d98aedc1920f /scripts/robot.js
parentce133cae340bf077a3cc1222257638392681a118 (diff)
Multiple Issues fixed
Resizeable task bar Deliverable state combo box Edit node submit bug fix Code cleaup
Diffstat (limited to 'scripts/robot.js')
-rw-r--r--scripts/robot.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/robot.js b/scripts/robot.js
index d0c7ef8b..5ffbebcd 100644
--- a/scripts/robot.js
+++ b/scripts/robot.js
@@ -54,7 +54,10 @@ function Robot(){
window.setTimeout( Robot, 50/speed+Math.round(Math.random()*100/speed) );
}
}else{
- $('#textanalyser').trigger("submit");
+ var e = jQuery.Event("keypress");
+ e.which = 13;
+ e.keyCode = 13;
+ $("#textanalyser").trigger(e);
window.setTimeout( Robot, 650/speed );
}
}else{