Showing with 14 additions and 7 deletions.
  1. +3 −1 app/resources/download.js
  2. +5 −2 app/resources/hash.js
  3. +3 −3 app/resources/themeroller.js
  4. +1 −1 package.json
  5. +2 −0 template/download/index.html
@@ -206,7 +206,9 @@
});

// Generating toggle all checkboxes
toggleAll = drawToggleAll( "toggleAll" ).insertAfter( $( "#download-builder .components-area" ).prev().find( "h2" ) );
if ( !( toggleAll = $( "#download-builder .toggleAll" ) ).length ) {
toggleAll = drawToggleAll( "toggleAll" ).insertAfter( $( "#download-builder .components-area" ).prev().find( "h2" ) );
}
$( "#download-builder .component-group h3" ).after( drawToggleAll( "toggle" ) );

/* Remember components check/uncheck selection
@@ -34,7 +34,10 @@
if ( storedHash !== hash ) {
if ( listen === true ) {
// update was made by navigation button
emitter.trigger( "change", [ currHash() ] );
if ( hash ) {
hash = hash.replace( /^!*/, "" );
}
emitter.trigger( "change", [ hash ] );
}
storedHash = hash;
}
@@ -53,7 +56,7 @@
if ( options.ignoreChange === true ) {
stopListening();
}
window.location.hash = hash;
window.location.hash = hash.replace( /^!*(.*)/, "!$1" );
if ( options.ignoreChange === true ) {
storedHash = hash;
startListening();
@@ -114,13 +114,13 @@

// Links to roll your own from help tab
$( "#help a[href=\"#rollYourOwn\"]" ).on( "click", function( event ) {
$( "#rollerTabs" ).tabs( "select", 0 );
$( "#rollerTabs" ).tabs( "option", "active", 0 );
event.preventDefault();
});

// Links to theme gallery from help tab
$( "#help a[href=\"#themeGallery\"]" ).on( "click", function( event ) {
$( "#rollerTabs" ).tabs( "select", 1 );
$( "#rollerTabs" ).tabs( "option", "active", 1 );
event.preventDefault();
});

@@ -305,7 +305,7 @@
.on( "click", function( event ) {
reloadRollYourOwn = true;
model.set( QueryString.decode( $( this ).parent().find( "a:first-child" ).attr( "href" ).split( "?" )[ 1 ] ) );
$( "#rollerTabs" ).tabs( "select", 0 );
$( "#rollerTabs" ).tabs( "option", "active", 0 );
event.preventDefault();
});
updateThemeGalleryDownloadLink();
@@ -1,6 +1,6 @@
{
"name": "download.jqueryui.com",
"version": "1.9.2-3",
"version": "1.10.0",
"dependencies": {
"archiver": "~0.1.0",
"async": "0.1.22",
@@ -6,6 +6,8 @@
{{#join releases " | "}}
<a class="download-link" href="/resources/download/jquery-ui-{{this.pkg.version}}.custom.zip">{{this.label}}</a> (<a href="/resources/download/jquery-ui-themes-{{this.pkg.version}}.zip">Themes</a>) ({{this.pkg.version}}: <em>for {{this.dependsOn}}</em>)
{{/join}}
<br>
<a class="download-link" href="/download/all">All jQuery UI Downloads</a>
</p>
<form action="{{host}}/download" method="POST">
<div class="download-builder-header version-area">