Skip to content

Commit 6dfc9a4

Browse files
author
Leonid Vakulenko
committed
Blog v.2.0.2
* Fixed an error in the design editor in the old interface that occurred after the update to version 2.0.1.
1 parent c7d998f commit 6dfc9a4

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

wa-apps/blog/lib/actions/design/blogDesign.actions.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ public function __construct()
1111
if (!$this->getRights('design')) {
1212
throw new waRightsException(_ws("Access denied"));
1313
}
14-
$this->options['is_ajax'] = true;
14+
15+
if (wa('blog')->whichUI() !== '1.3') {
16+
$this->options['is_ajax'] = true;
17+
}
1518
$this->options['js']['storage'] = false;
1619
}
1720

wa-apps/blog/lib/config/app.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
'plugins' => true,
1212
'pages' => true,
1313
'mobile' => true,
14-
'version' => '2.0.1',
15-
'critical' => '2.0.1',
14+
'version' => '2.0.2',
15+
'critical' => '2.0.2',
1616
'vendor' => 'webasyst',
1717
'csrf' => true,
1818
'my_account' => true,

0 commit comments

Comments
 (0)