Commit b0dec8db authored by tbrehm's avatar tbrehm

Fixed: FS#1279 - DNS zone with more than 1 page and DNS zone with only one page.

parent 43668010
......@@ -50,6 +50,16 @@ $app->load('tform_actions');
class page_action extends tform_actions {
function onShow() {
global $app;
//* Reset the page number of the list form for the dns
//* records to 0 if we are on the first tab of the soa form.
if($app->tform->getNextTab() == 'dns_soa') {
$_SESSION['search']['dns_a']['page'] = 0;
}
parent::onShow();
}
function onShowNew() {
global $app, $conf;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment