Browse Source

Capitalize event name

adaptive-webui-19844
Thomas Piccirello 6 years ago
parent
commit
851c02acb0
  1. 2
      src/webui/www/private/addtrackers.html
  2. 2
      src/webui/www/private/downloadlimit.html
  3. 2
      src/webui/www/private/edittracker.html
  4. 2
      src/webui/www/private/installsearchplugin.html
  5. 2
      src/webui/www/private/newcategory.html
  6. 2
      src/webui/www/private/rename.html
  7. 2
      src/webui/www/private/search.html
  8. 2
      src/webui/www/private/setlocation.html
  9. 2
      src/webui/www/private/shareratio.html
  10. 2
      src/webui/www/private/uploadlimit.html

2
src/webui/www/private/addtrackers.html

@ -14,7 +14,7 @@
new Keyboard({ new Keyboard({
defaultEventType: 'keydown', defaultEventType: 'keydown',
events: { events: {
'enter': function(event) { 'Enter': function(event) {
$('addTrackersButton').click(); $('addTrackersButton').click();
event.preventDefault(); event.preventDefault();
}, },

2
src/webui/www/private/downloadlimit.html

@ -62,7 +62,7 @@
new Keyboard({ new Keyboard({
defaultEventType: 'keydown', defaultEventType: 'keydown',
events: { events: {
'enter': function(event) { 'Enter': function(event) {
$('applyButton').click(); $('applyButton').click();
event.preventDefault(); event.preventDefault();
}, },

2
src/webui/www/private/edittracker.html

@ -14,7 +14,7 @@
new Keyboard({ new Keyboard({
defaultEventType: 'keydown', defaultEventType: 'keydown',
events: { events: {
'enter': function(event) { 'Enter': function(event) {
$('editTrackerButton').click(); $('editTrackerButton').click();
event.preventDefault(); event.preventDefault();
}, },

2
src/webui/www/private/installsearchplugin.html

@ -33,7 +33,7 @@
new Keyboard({ new Keyboard({
defaultEventType: 'keydown', defaultEventType: 'keydown',
events: { events: {
'enter': function(e) { 'Enter': function(e) {
// accept enter key as a click // accept enter key as a click
new Event(e).stop(); new Event(e).stop();

2
src/webui/www/private/newcategory.html

@ -14,7 +14,7 @@
new Keyboard({ new Keyboard({
defaultEventType: 'keydown', defaultEventType: 'keydown',
events: { events: {
'enter': function(event) { 'Enter': function(event) {
$('categoryNameButton').click(); $('categoryNameButton').click();
event.preventDefault(); event.preventDefault();
}, },

2
src/webui/www/private/rename.html

@ -14,7 +14,7 @@
new Keyboard({ new Keyboard({
defaultEventType: 'keydown', defaultEventType: 'keydown',
events: { events: {
'enter': function(event) { 'Enter': function(event) {
$('renameButton').click(); $('renameButton').click();
event.preventDefault(); event.preventDefault();
}, },

2
src/webui/www/private/search.html

@ -202,7 +202,7 @@
new Keyboard({ new Keyboard({
defaultEventType: 'keydown', defaultEventType: 'keydown',
events: { events: {
'enter': function(e) { 'Enter': function(e) {
// accept enter key as a click // accept enter key as a click
new Event(e).stop(); new Event(e).stop();

2
src/webui/www/private/setlocation.html

@ -14,7 +14,7 @@
new Keyboard({ new Keyboard({
defaultEventType: 'keydown', defaultEventType: 'keydown',
events: { events: {
'enter': function(event) { 'Enter': function(event) {
$('setLocationButton').click(); $('setLocationButton').click();
event.preventDefault(); event.preventDefault();
}, },

2
src/webui/www/private/shareratio.html

@ -17,7 +17,7 @@
new Keyboard({ new Keyboard({
defaultEventType: 'keydown', defaultEventType: 'keydown',
events: { events: {
'enter': function(event) { 'Enter': function(event) {
$('save').click(); $('save').click();
event.preventDefault(); event.preventDefault();
}, },

2
src/webui/www/private/uploadlimit.html

@ -62,7 +62,7 @@
new Keyboard({ new Keyboard({
defaultEventType: 'keydown', defaultEventType: 'keydown',
events: { events: {
'enter': function(event) { 'Enter': function(event) {
$('applyButton').click(); $('applyButton').click();
event.preventDefault(); event.preventDefault();
}, },

Loading…
Cancel
Save