Active
Project:
BUEditor
Version:
7.x-1.4
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
21 May 2012 at 06:58 UTC
Updated:
13 Jun 2012 at 10:59 UTC
I have put the following code in the preview button:
js: E.prvAjax(); MathJax.Hub.Typeset();
The second processes the page on the client's computer. It does not work as expected, as the client-side processing takes place directly after the loading message is shown, and not after it is completed. Any workaround?
Comments
Comment #1
ufku commentedA php button, starting with
php:, allows you to perform server-side processing. You should not try it unless you are familiar with PHP.Comment #2
hameerabbasi commentedActually, I intend to use the default
E.prvAjax();function, but I want to useMathJax.Hub.Typeset();(which performs client-side processing with no server interaction) AFTER the preview has been completed. If I do what I described, it just processes the "loading..." text, instead of the proper server response.Comment #3
hameerabbasi commentedBump. Please help.
Comment #3.0
hameerabbasi commentedFurther explanation of issue.