##// END OF EJS Templates
Merge pull request #6437 from weichm/patch-1...
Jonathan Frederic -
r17847:f8754ab8 merge
parent child Browse files
Show More
@@ -202,8 +202,8 b' define(['
202 // Handles text submition
202 // Handles text submition
203 if (e.keyCode == 13) { // Return key
203 if (e.keyCode == 13) { // Return key
204 this.send({event: 'submit'});
204 this.send({event: 'submit'});
205 event.stopPropagation();
205 e.stopPropagation();
206 event.preventDefault();
206 e.preventDefault();
207 return false;
207 return false;
208 }
208 }
209 },
209 },
@@ -214,8 +214,8 b' define(['
214 // TODO: Is the original bug actually a fault of the keyboard
214 // TODO: Is the original bug actually a fault of the keyboard
215 // manager?
215 // manager?
216 if (e.relatedTarget === null) {
216 if (e.relatedTarget === null) {
217 event.stopPropagation();
217 e.stopPropagation();
218 event.preventDefault();
218 e.preventDefault();
219 return false;
219 return false;
220 }
220 }
221 },
221 },
@@ -224,8 +224,8 b' define(['
224 // Prevent a blur from firing if the blur was not user intended.
224 // Prevent a blur from firing if the blur was not user intended.
225 // This is a workaround for the return-key focus loss bug.
225 // This is a workaround for the return-key focus loss bug.
226 if (e.relatedTarget === null) {
226 if (e.relatedTarget === null) {
227 event.stopPropagation();
227 e.stopPropagation();
228 event.preventDefault();
228 e.preventDefault();
229 return false;
229 return false;
230 }
230 }
231 },
231 },
General Comments 0
You need to be logged in to leave comments. Login now