[livejournal] r19787: LJSUP-9570: LJ-cut does not work correct...
Committer: vkurkin
LJSUP-9570: LJ-cut does not work correctlyU trunk/htdocs/js/rte.js
Modified: trunk/htdocs/js/rte.js
===================================================================
--- trunk/htdocs/js/rte.js 2011-08-19 08:42:39 UTC (rev 19786)
+++ trunk/htdocs/js/rte.js 2011-08-19 08:43:54 UTC (rev 19787)
@@ -57,30 +57,12 @@
CKEditor = editor;
editor.resetDirty();
- var isSetFocuse;
-
$('#updateForm')[0].onsubmit = function() {
if (window.switchedRteOn) {
draftData.textArea.val(CKEditor.getData());
}
};
- $('#subject').blur(function(){
- if(isSetFocuse){
- $('#draft').focus();
- }
-
- return false;
- });
-
- $('#prop_taglist').bind('focus', function(){
- return isSetFocuse = false;
- });
-
- $(document).bind('keypress', function(evt){
- isSetFocuse = !evt.shiftKey;
- });
-
CKEditor.on('dataReady', function() {
$('#entry-form-wrapper').attr('class', 'hide-html');
