~daker/ubuntu-html5-theme/fix.1243396

« back to all changes in this revision

Viewing changes to 0.1/ambiance/js/tabs.js

  • Committer: CI bot
  • Author(s): Alexandre Abreu
  • Date: 2014-02-17 17:02:57 UTC
  • mfrom: (131.3.4 fix-page-and-title-behavior)
  • Revision ID: ps-jenkins@lists.canonical.com-20140217170257-x54rha44v231gnbu
Fix page & pagestack behavior regarding the page title updates & tabs relationship which is very flawed atm.

A page should have a title.
In a page stack, the page's title should be reflected *dynamically* in the header as the page is pushed/popped. Fixes: 1279891

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
 * @namespace UbuntuUI
31
31
 * @example
32
32
      <body>
33
 
        <div data-role="page">
 
33
        <div data-role="mainview">
34
34
          <header data-role="header" id="headerID">
35
35
            <ul data-role="tabs">
36
36
              <li data-role="tabitem" data-page="main">