Skip to content

Commit

Permalink
Fixed disappearing of menu bar. Detached object wasn't being reattach…
Browse files Browse the repository at this point in the history
…ed properly.
  • Loading branch information
Paul Jackson authored and Paul Jackson committed Aug 20, 2012
1 parent 06d4f2f commit 3d6d5f1
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion build/js/pe-ap-min.js

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions demos/slider/slider-fra.html
Expand Up @@ -8,15 +8,15 @@
<meta charset="utf-8" />
<!-- Web Experience Toolkit (WET) / Boîte à outils de l'expérience Web (BOEW)
www.tbs.gc.ca/ws-nw/wet-boew/terms / www.sct.gc.ca/ws-nw/wet-boew/conditions -->
<title>Commande de barre coulissante (correctif pour input type="range") - Exemples pratiques - Boîte à outils de l'expérience Web (BOEW)</title>
<title>Commande de barre coulissante (correctif pour input type="range") - Exemples pratiques - Boîte à outils de l'expérience Web (BOEW)</title>

<link rel="shortcut icon" href="../../build/theme-gcwu-fegc/images/favicon.ico" />
<meta name="description" content="French description / Description en français" />
<meta name="dcterms.creator" content="French name of the content author / Nom en français de l'auteur du contenu" />
<meta name="dcterms.title" content="French title / Titre en français" />
<meta name="description" content="French description / Description en français" />
<meta name="dcterms.creator" content="French name of the content author / Nom en français de l'auteur du contenu" />
<meta name="dcterms.title" content="French title / Titre en français" />
<meta name="dcterms.issued" title="W3CDTF" content="Date published (YYYY-MM-DD) / Date de publication (AAAA-MM-JJ)" />
<meta name="dcterms.modified" title="W3CDTF" content="Date modified (YYYY-MM-DD) / Date de modification (AAAA-MM-JJ)" />
<meta name="dcterms.subject" title="scheme" content="French subject terms / Termes de sujet en français" />
<meta name="dcterms.subject" title="scheme" content="French subject terms / Termes de sujet en français" />
<meta name="dcterms.language" title="ISO639-2" content="fra" />
<meta name="viewport" content="width=device-width, initial-scale=1" />

Expand Down Expand Up @@ -59,7 +59,7 @@

<div id="gcwu-bnr" role="banner"><div id="gcwu-bnr-in">
<div id="gcwu-wmms"><div id="gcwu-wmms-in"><div id="gcwu-wmms-fip" title="Symbole du gouvernement du Canada"><img src="../../build/theme-gcwu-fegc/images/wmms.gif" width="126" height="30" alt="Symbole du gouvernement du Canada" /></div></div></div>
<div id="gcwu-title"><p id="gcwu-title-in"><a href="../../docs/index-fra.html">Boîte à outils de l'expérience Web&#160;(BOEW)</a></p></div>
<div id="gcwu-title"><p id="gcwu-title-in"><a href="../../docs/index-fra.html">Boîte à outils de l'expérience Web&#160;(BOEW)</a></p></div>

<section role="search"><div id="gcwu-srchbx"><h2>Recherche</h2>
<form action="#" method="post"><div id="gcwu-srchbx-in">
Expand Down Expand Up @@ -101,29 +101,29 @@ <h1 id="wb-cont">Commande de barre coulissante (correctif pour <span lang="en">i
<div class="span-3">
<fieldset>
<legend>Barre coulissante&#160;1</legend>
<label for="html5shim-1">Étendue&#160;: 0 à 100 avec les augmentations de 1 <span id="html5shim-1-out"></span></label>
<p><input name="html5shim-1" id="html5shim-1" type="range" min="0" max="100" step="1" title="Étendue&#160;: 0 à 100 avec les augmentations de 1" value="50" onchange="document.getElementById('html5shim-1-out').innerHTML = '(Valeur actuelle&#160;: ' + this.value + ')'" /></p>
<label for="html5shim-1">Étendue&#160;: 0 à 100 avec les augmentations de 1 <span id="html5shim-1-out"></span></label>
<p><input name="html5shim-1" id="html5shim-1" type="range" min="0" max="100" step="1" title="Étendue&#160;: 0 à 100 avec les augmentations de 1" value="50" onchange="document.getElementById('html5shim-1-out').innerHTML = '(Valeur actuelle&#160;: ' + this.value + ')'" /></p>
</fieldset>
</div>
<div class="span-3">
<fieldset>
<legend>Barre coulissante&#160;2</legend>
<label for="html5shim-2">Étendue&#160;: 20 à 50 avec les augmentations de 10 <span id="html5shim-2-out"></span></label>
<p><input name="html5shim-2" id="html5shim-2" type="range" min="20" max="50" step="10" title="Étendue&#160;: 20 à 50 avec les augmentations de 10" value="0" onchange="document.getElementById('html5shim-2-out').innerHTML = '(Valeur actuelle&#160;: ' + this.value + ')'" /></p>
<label for="html5shim-2">Étendue&#160;: 20 à 50 avec les augmentations de 10 <span id="html5shim-2-out"></span></label>
<p><input name="html5shim-2" id="html5shim-2" type="range" min="20" max="50" step="10" title="Étendue&#160;: 20 à 50 avec les augmentations de 10" value="0" onchange="document.getElementById('html5shim-2-out').innerHTML = '(Valeur actuelle&#160;: ' + this.value + ')'" /></p>
</fieldset>
</div>
<div class="span-3">
<fieldset>
<legend>Barre coulissante verticale&#160;1</legend>
<label for="html5shim-V1">Étendue&#160;: 0 à 100 avec les augmentations de 1 <span id="html5shim-V1-out"></span></label>
<p><input data-fd-slider-vertical="v-s" name="html5shim-V1" id="html5shim-V1" type="range" min="0" max="100" step="1" title="Étendue&#160;: 0 à 100 avec les augmentations de 1" value="50" onchange="document.getElementById('html5shim-V1-out').innerHTML = '(Valeur actuelle&#160;: ' + this.value + ')'" /></p>
<label for="html5shim-V1">Étendue&#160;: 0 à 100 avec les augmentations de 1 <span id="html5shim-V1-out"></span></label>
<p><input data-fd-slider-vertical="v-s" name="html5shim-V1" id="html5shim-V1" type="range" min="0" max="100" step="1" title="Étendue&#160;: 0 à 100 avec les augmentations de 1" value="50" onchange="document.getElementById('html5shim-V1-out').innerHTML = '(Valeur actuelle&#160;: ' + this.value + ')'" /></p>
</fieldset>
</div>
<div class="span-3">
<fieldset>
<legend>Barre coulissante verticale&#160;2</legend>
<label for="html5shim-V2">Étendue&#160;: 20 à 50 avec les augmentations de 10 <span id="html5shim-V2-out"></span></label>
<p><input data-fd-slider-vertical="v-s" name="html5shim-V2" id="html5shim-V2" type="range" min="20" max="50" step="10" title="Étendue&#160;: 20 à 50 avec les augmentations de 10" value="0" onchange="document.getElementById('html5shim-V2-out').innerHTML = '(Valeur actuelle&#160;: ' + this.value + ')'" /></p>
<label for="html5shim-V2">Étendue&#160;: 20 à 50 avec les augmentations de 10 <span id="html5shim-V2-out"></span></label>
<p><input data-fd-slider-vertical="v-s" name="html5shim-V2" id="html5shim-V2" type="range" min="20" max="50" step="10" title="Étendue&#160;: 20 à 50 avec les augmentations de 10" value="0" onchange="document.getElementById('html5shim-V2-out').innerHTML = '(Valeur actuelle&#160;: ' + this.value + ')'" /></p>
</fieldset>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/js/workers/menubar.js
Expand Up @@ -140,7 +140,7 @@
}

// Reattach $scope now that enhancements are complete
$scope.appendTo(parent);
$scope.appendTo($scopeParent);

// Adjust the height
correctheight();
Expand Down

0 comments on commit 3d6d5f1

Please sign in to comment.