vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   blog quick edit error (https://vborg.vbsupport.ru/showthread.php?t=286221)

samergains 08-02-2012 11:41 AM

blog quick edit error
 
1 Attachment(s)
Hi guys...
In the blog main page, next to each blog thread there is a pen icon for quick edit. when you click it, it supposed to open the editor to edit the thread. In my forum when I click it, nothing happens. I attached a screen shot with the javascript shown with firebug.
I hope somebody can help me solving this problem.
thanks.
update:
to make it more clear. the error is in file :/clientscript/vbulletin_textedit.js
I forgot to mention that I use vb4.2
and here a part of the code where the error appeared
Code:

function vB_Text_Editor(C,B){
this.autosave_text="";
this.autosave_title="";
this.initialized=false;
this.editorid=C;
this.config=B;
this.config.baseHref=getBaseUrl();
this.initial_text_crc32=null;
this.initial_title_crc32=null;
this.lastautosave_text_crc32=null;
this.lastautosave_title_crc32=null;
this.autosave_ajax_req=null;
this.editor=null;
this.vBevents={editorready:new YAHOO.util.CustomEvent("editorready",this)};
this.editorready=false;
this.autosave_enabled=(this.config.vbulletin.contenttypeid!=""&&this.config.vbulletin.contenttypeid!=null&&this.config.vbulletin.userid!=0&&this.config.vbulletin.postautosave!=0);
this.textarea=YAHOO.util.Dom.get(C+"_editor");
this.textarea_backup=YAHOO.util.Dom.get(C+"_editor_backup");
this.textarea.value=this.unescape_text(this.textarea.value);
this.isSafari=CKEDITOR.env.webkit&&navigator.userAgent.toLowerCase().indexOf(" chrome/")==-1;
this.disablewysiwyg=false;
if(this.config._removePlugins)
{CKEDITOR.config.removePlugins=this.config._removePlugins}
if(this.config._extraPlugins)
{CKEDITOR.config.extraPlugins=this.config._extraPlugins}
var A=true;
if(!CKEDITOR.vBulletin){CKEDITOR.vBulletin={};
if(CKEDITOR.env.mobile&&!CKEDITOR.env.isCompatible)
{CKEDITOR.env.isCompatible=true;


ForceHSS 08-02-2012 12:02 PM

First disable all custom plugins then check in different browsers

samergains 08-02-2012 12:46 PM

Quote:

Originally Posted by ForceHSS (Post 2353625)
First disable all custom plugins then check in different browsers

thanks for the quick reply.. you were right :)
it's one of my plugins that's causing this conflict.
thanks again.


All times are GMT. The time now is 11:19 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01136 seconds
  • Memory Usage 1,718KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete