Ajax editor onFailure usage
Hi,
I have a system that collects information using the Ajax Editor textboxes. It works fine unless the person lets the page sit for a while and their Auth session ends. They are logged out and don't know it, then try to use the boxes which appear to work but are really sending the data nowhere.
Shouldn't I be able to use the onFailure option of the ajax->editor to echo a message that something failed?
Here is what I have but onFailure doesn't show up in the page source when I look at it:
<?php
echo $ajax->editor(
'reviewerComments',
array(
'controller' => 'PhdUsers',
'action' => 'ajaxupdateReviewerComments',
$reviewID,
'/overalOpinion'
),
array(
'cols' => '500',
'loadTextURL' =>"https://blahblahblbha.com",
'rows' => '5',
'onFailure' => 'blah blah'
));?>
Asked by alscheuring, on 3/2/10
0 Answers
Sorry, but there are no answers yet.
Your Answer
You can use Creole Wiki Syntax to format your text.
Tagged with
Rating
0
Viewed
242 times
Last Activity
on 3/2/10