Skip to content
This repository was archived by the owner on Jul 14, 2022. It is now read-only.

Commit adef3c0

Browse files
committed
Remove off/on submit
1 parent a68bc69 commit adef3c0

File tree

1 file changed

+0
-4
lines changed
  • app/assets/javascripts/tinymce/plugins/uploadimage

1 file changed

+0
-4
lines changed

app/assets/javascripts/tinymce/plugins/uploadimage/plugin.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,6 @@
6060
plugin_url: url
6161
});
6262

63-
// TinyMCE likes pointless submit handlers
64-
win.off('submit');
65-
win.on('submit', insertImage);
66-
6763
/* WHY DO YOU HATE <form>, TINYMCE!? */
6864
iframe = win.find("iframe")[0];
6965
form = createElement('form', {

0 commit comments

Comments
 (0)