Merge lp:~daker/ubuntu-html5-theme/fix.1424560 into lp:ubuntu-html5-theme

Proposed by Adnane Belmadiaf
Status: Merged
Approved by: David Barth
Approved revision: 198
Merged at revision: 197
Proposed branch: lp:~daker/ubuntu-html5-theme/fix.1424560
Merge into: lp:ubuntu-html5-theme
Diff against target: 14 lines (+3/-1)
1 file modified
0.1/ambiance/js/core.js (+3/-1)
To merge this branch: bzr merge lp:~daker/ubuntu-html5-theme/fix.1424560
Reviewer Review Type Date Requested Status
David Barth Approve
Review via email: mp+251062@code.launchpad.net

Commit message

Fixes Uncaught ReferenceError: ActionBar is not defined

To post a comment you must log in.
198. By Adnane Belmadiaf

Fixed class name

Revision history for this message
David Barth (dbarth) wrote :

LGTM

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file '0.1/ambiance/js/core.js'
2--- 0.1/ambiance/js/core.js 2015-01-15 22:02:35 +0000
3+++ 0.1/ambiance/js/core.js 2015-02-26 15:59:52 +0000
4@@ -209,7 +209,9 @@
5 init: function () {
6 this.__setupTabs(document);
7 this.__setupPage(document);
8- this.__setupActionsBar(document);
9+ if (typeof ActionBar != 'undefined' && ActionBar ) {
10+ this.__setupActionsBar(document);
11+ }
12 },
13
14 /**

Subscribers

People subscribed via source and target branches