Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V1.0.2 #162

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 1.0.2

- Adding an id to the outer control wrapper tag will have as of now an impact on the internal uniqueid handling and therefore to the sub tag ids as well
- Bug fix for having the same tag for titles and panels
- AJAX crawling scheme support for SEO
- History support for newer browsers (pushState) [#5](https://github.com/rstaib/jquery-steps/issues/5)
- Dynamic height calculation [#8](https://github.com/rstaib/jquery-steps/issues/8)

## 1.0.1

- Fixed an iframe border and scrolling issue for older browsers (IE8 and lower)
Expand Down
Binary file removed build/jquery.steps-1.0.1.zip
Binary file not shown.
Binary file added build/jquery.steps-1.0.2.zip
Binary file not shown.
16 changes: 14 additions & 2 deletions build/jquery.steps.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* jQuery Steps v1.0.1 - 08/23/2013
* jQuery Steps v1.0.2 - 08/25/2013
* Copyright (c) 2013 Rafael Staib (http://www.jquery-steps.com)
* Licensed under MIT http://www.opensource.org/licenses/MIT
*/
Expand Down Expand Up @@ -165,7 +165,14 @@ function getUniqueId(wizard)

if (uniqueId == null)
{
uniqueId = "steps-uid-".concat(++_uniqueId);
uniqueId = wizard._getId();
if (uniqueId == null)
{
uniqueId = "steps-uid-".concat(_uniqueId);
wizard._setId(uniqueId);
}

_uniqueId++;
wizard.data("uid", uniqueId);
}

Expand Down Expand Up @@ -1089,6 +1096,11 @@ $.fn.extend({
return this.removeClass("current")._aria("selected", "false");
},

_getId: function ()
{
return this.attr("id");
},

_setId: function (id)
{
return this.attr("id", id);
Expand Down
4 changes: 2 additions & 2 deletions build/jquery.steps.min.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "jquery-steps",
"title": "jQuery Steps",
"version": "1.0.1",
"version": "1.0.2",
"description": "A powerful jQuery wizard plugin that supports accessibility and HTML5",
"homepage": "http://www.jquery-steps.com",
"author": {
Expand Down Expand Up @@ -39,8 +39,8 @@
"grunt-contrib-concat": "~0.3.0",
"grunt-contrib-yuidoc": "~0.4.0",
"grunt-contrib-clean": "~0.4.1",
"grunt-regex-replace": "~0.2.5",
"grunt-contrib-compress": "~0.5.2"
"grunt-contrib-compress": "~0.5.2",
"grunt-regex-replace": "~0.2.5"
},
"readmeFilename": "README.md",
"gitHead": "0d9f4f8b6a0c3d3b8a73eabf6a4b8cececd52f7a",
Expand Down
5 changes: 5 additions & 0 deletions src/helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ $.fn.extend({
return this.removeClass("current")._aria("selected", "false");
},

_getId: function ()
{
return this.attr("id");
},

_setId: function (id)
{
return this.attr("id", id);
Expand Down
9 changes: 8 additions & 1 deletion src/privates.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,14 @@ function getUniqueId(wizard)

if (uniqueId == null)
{
uniqueId = "steps-uid-".concat(++_uniqueId);
uniqueId = wizard._getId();
if (uniqueId == null)
{
uniqueId = "steps-uid-".concat(_uniqueId);
wizard._setId(uniqueId);
}

_uniqueId++;
wizard.data("uid", uniqueId);
}

Expand Down
2 changes: 1 addition & 1 deletion steps.jquery.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"tabs",
"steps"
],
"version": "1.0.1",
"version": "1.0.2",
"author": {
"name": "Rafael Staib",
"email": "[email protected]",
Expand Down