Adjust ad location handler to updated page selection interface
authorMatthias Schmidt <gravatronics@live.com>
Sun, 6 Jan 2019 10:44:56 +0000 (11:44 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Sun, 6 Jan 2019 10:44:56 +0000 (11:44 +0100)
See #2683

wcfsetup/install/files/acp/js/WCF.ACP.js

index cc35dd1fd1df7f99822214b1ed4dc77699043dce..630a5bc831ba0e539d8eceb80b5b3f4c2d71ec3c 100644 (file)
@@ -2467,7 +2467,8 @@ WCF.ACP.Ad.LocationHandler = Class.extend({
                
                var dl = $(this._pageInputs[0]).parents('dl:eq(0)');
                
-               // hide the page controller element
+               // hide the page controller elements
+               dl.prev('dl').hide();
                dl.hide();
                
                var section = dl.parent('section');