Filling in missing endHTML calls for Action AJAX
This completes 1c6f9df80e
where a lot
of other functions were fixed (by conforming to startHTML and endHTML)
This commit is contained in:
@@ -94,7 +94,7 @@ class AnonDisfavorAction extends RedirectingAction
|
||||
$favor = new AnonFavorForm($this, $notice);
|
||||
$favor->show();
|
||||
$this->elementEnd('body');
|
||||
$this->elementEnd('html');
|
||||
$this->endHTML();
|
||||
} else {
|
||||
$this->returnToPrevious();
|
||||
}
|
||||
|
@@ -89,7 +89,7 @@ class AnonFavorAction extends RedirectingAction
|
||||
$disfavor = new AnonDisFavorForm($this, $notice);
|
||||
$disfavor->show();
|
||||
$this->elementEnd('body');
|
||||
$this->elementEnd('html');
|
||||
$this->endHTML();
|
||||
} else {
|
||||
$this->returnToPrevious();
|
||||
}
|
||||
|
Reference in New Issue
Block a user