Skip to content

Commit

Permalink
fix #208 #203 v1.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
babakhani committed Feb 11, 2018
1 parent 06c4ed4 commit 2f29111
Show file tree
Hide file tree
Showing 15 changed files with 25 additions and 18 deletions.
6 changes: 3 additions & 3 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "persian-datepicker",
"version": "1.1.1",
"version": "1.1.2",
"main": [
"dist/css/persian-datepicker.min.css",
"dist/js/persian-datepicker.min.js"
Expand All @@ -13,8 +13,8 @@
"src"
],
"dependencies": {
"jquery": "2.2.0",
"persian-date": "1.0.1"
"jquery": ">=2.2.0",
"persian-date": ">=1.0.1"
},
"keywords": [
"bootstrap-datetimepicker",
Expand Down
2 changes: 1 addition & 1 deletion dist/css/persian-datepicker.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
** persian-datepicker - v1.1.1
** persian-datepicker - v1.1.2
** Reza Babakhani <[email protected]>
** http://babakhani.github.io/PersianWebToolkit/docs/datepicker
** Under WTFPL license
Expand Down
2 changes: 1 addition & 1 deletion dist/css/persian-datepicker.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/theme/persian-datepicker-blue.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/theme/persian-datepicker-cheerup.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/theme/persian-datepicker-dark.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/theme/persian-datepicker-redblack.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<div class="container">
<div class="navbar-header">
<a class="navbar-brand" href="#">
Persian Date Picker <span class="badge">Version 1.1.1</span>
Persian Date Picker <span class="badge">Version 1.1.2</span>
</a>
</div>
<nav class="navbar-right">
Expand Down Expand Up @@ -300,7 +300,7 @@ <h3 class="panel-title">Iconic Sample</h3>
// --------------------------------------------
$("#inline").persianDatepicker({
initialValueType: 'persian',
minDate: 1506550581778,
minDate: 1506550581778,
calendar: {
persian: {
enabled: true,
Expand Down
4 changes: 3 additions & 1 deletion dist/js/persian-datepicker.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
** persian-datepicker - v1.1.1
** persian-datepicker - v1.1.2
** Reza Babakhani <[email protected]>
** http://babakhani.github.io/PersianWebToolkit/docs/datepicker
** Under WTFPL license
Expand Down Expand Up @@ -1938,6 +1938,7 @@ var Navigator = function () {
$(document).on('click', '#' + that.model.view.id + ' .up-btn', function () {
var timekey = $(this).data('time-key');
that.timeUp(timekey);
that.model.options.onSelect(that.model.state.selected.unix);
});

/**
Expand All @@ -1946,6 +1947,7 @@ var Navigator = function () {
$(document).on('click', '#' + that.model.view.id + ' .down-btn', function () {
var timekey = $(this).data('time-key');
that.timeDown(timekey);
that.model.options.onSelect(that.model.state.selected.unix);
});
}

Expand Down
4 changes: 2 additions & 2 deletions dist/js/persian-datepicker.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/range.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<div class="container">
<div class="navbar-header">
<a class="navbar-brand" href="#">
Persian Date Picker <span class="badge">Version 1.1.1</span>
Persian Date Picker <span class="badge">Version 1.1.2</span>
</a>
</div>
<nav class="navbar-right">
Expand Down
5 changes: 4 additions & 1 deletion doc/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [1.1.1] - 2018-2-11
- Fix [#208](https://github.com/babakhani/pwt.datepicker/issues/208)
- Fix [#203](https://github.com/babakhani/pwt.datepicker/issues/203)

## [1.1.1] - 2018-1-27
- Fix [#202](https://github.com/babakhani/pwt.datepicker/issues/202)
- Fix [#203](https://github.com/babakhani/pwt.datepicker/issues/203)


## [1.1.0] - 2017-12-24
- Fix [#190](https://github.com/babakhani/pwt.datepicker/issues/190)
- Fix [#189](https://github.com/babakhani/pwt.datepicker/issues/189)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "persian-datepicker",
"version": "1.1.1",
"version": "1.1.2",
"description": "jQuery datepicker plugin work with Iranian calendar.",
"keywords": [
"jquery-plugin",
Expand Down
2 changes: 2 additions & 0 deletions src/es6/navigator.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ class Navigator {
$(document).on('click', '#' + that.model.view.id + ' .up-btn', function () {
let timekey = $(this).data('time-key');
that.timeUp(timekey);
that.model.options.onSelect(that.model.state.selected.unix);
});

/**
Expand All @@ -176,6 +177,7 @@ class Navigator {
$(document).on('click', '#' + that.model.view.id + ' .down-btn', function () {
let timekey = $(this).data('time-key');
that.timeDown(timekey);
that.model.options.onSelect(that.model.state.selected.unix);
});

}
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module.exports = {
devServer: {
contentBase: path.join(__dirname, "/"),
port: 3000,
host : '192.168.0.192'
host : 'localhost'
},
module: {
rules: [
Expand Down

0 comments on commit 2f29111

Please sign in to comment.