Skip to content

Commit

Permalink
Update to release v1.4.9
Browse files Browse the repository at this point in the history
  • Loading branch information
kartik-v committed Mar 9, 2019
1 parent d43308f commit 54a8806
Show file tree
Hide file tree
Showing 11 changed files with 35 additions and 21 deletions.
9 changes: 9 additions & 0 deletions CHANGE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
Change Log: `dependent-dropdown`
================================

## version 1.4.9

**Date:** 09-Mar-2019

- (enh #72): Correct validation for undefined groups idParam.
- (enh #72): Add Hungarian Translations.
- (enh #70): Add Portugese Translations.
- Update README for NPM install and updates to copyright year.

## version 1.4.8

**Date:** 01-Aug-2017
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2013 - 2017, Kartik Visweswaran
Copyright (c) 2014 - 2019, Kartik Visweswaran
Krajee.com
All rights reserved.

Expand Down
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

A multi level dependent dropdown JQuery plugin that allows nested dependencies. The plugin allows you to convert normal select inputs, whose options are derived based on value selected in another input/or a group of inputs. It works both with normal select options and select with optgroups as well.

> NOTE: The latest version of the plugin v1.4.8 has been released. Refer the [CHANGE LOG](https://github.com/kartik-v/dependent-dropdown/blob/master/CHANGE.md) for details.
> NOTE: Refer the [CHANGE LOG](https://github.com/kartik-v/dependent-dropdown/blob/master/CHANGE.md) for details on updates to various releases.
## Features

Expand Down Expand Up @@ -81,6 +81,11 @@ You can use the `bower` package manager to install. Run:

bower install dependent-dropdown

### Using NPM
To install using the `npm` package manager run:

npm install dependent-dropdown

### Using Composer
You can use the `composer` package manager to install. Either run:

Expand Down Expand Up @@ -154,4 +159,4 @@ $("#child-2").depdrop({

## License

**dependent-dropdown** is released under the BSD 3-Clause License. See the bundled `LICENSE.md` for details.
**dependent-dropdown** is released under the BSD-3-Clause License. See the bundled `LICENSE.md` for details.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dependent-dropdown",
"version": "1.4.8",
"version": "1.4.9",
"homepage": "https://github.com/kartik-v/dependent-dropdown",
"authors": [
"Kartik Visweswaran <[email protected]>"
Expand Down
6 changes: 3 additions & 3 deletions css/dependent-dropdown.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*!
* dependent-dropdown v1.4.8
* dependent-dropdown v1.4.9
* http://plugins.krajee.com/dependent-dropdown
*
* Author: Kartik Visweswaran
* Copyright: 2014 - 2017, Kartik Visweswaran, Krajee.com
* Copyright: 2014 - 2019, Kartik Visweswaran, Krajee.com
*
* Licensed under the BSD 3-Clause
* Licensed under the BSD-3-Clause
* https://github.com/kartik-v/dependent-dropdown/blob/master/LICENSE.md
*/
.kv-loading, .select2-container .kv-loading {
Expand Down
6 changes: 3 additions & 3 deletions css/dependent-dropdown.min.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/*!
* dependent-dropdown v1.4.8
* dependent-dropdown v1.4.9
* http://plugins.krajee.com/dependent-dropdown
*
* Author: Kartik Visweswaran
* Copyright: 2014 - 2017, Kartik Visweswaran, Krajee.com
* Copyright: 2014 - 2019, Kartik Visweswaran, Krajee.com
*
* Licensed under the BSD 3-Clause
* Licensed under the BSD-3-Clause
* https://github.com/kartik-v/dependent-dropdown/blob/master/LICENSE.md
*/.kv-loading,.select2-container .kv-loading{background:url(../img/loading.gif)right 20px center no-repeat;cursor:wait;opacity:.6}.select2-container .kv-loading{background-position:right 0 center}
8 changes: 4 additions & 4 deletions js/dependent-dropdown.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*!
* dependent-dropdown v1.4.8
* dependent-dropdown v1.4.9
* http://plugins.krajee.com/dependent-dropdown
*
* Author: Kartik Visweswaran
* Copyright: 2014 - 2017, Kartik Visweswaran, Krajee.com
* Copyright: 2014 - 2019, Kartik Visweswaran, Krajee.com
*
* Licensed under the BSD 3-Clause
* Licensed under the BSD-3-Clause
* https://github.com/kartik-v/dependent-dropdown/blob/master/LICENSE.md
*/
(function (factory) {
Expand Down Expand Up @@ -213,7 +213,7 @@
data = {};
}
$.each(data, function (i, groups) {
if (groups[idParam]) {
if (!$h.isEmpty(groups[idParam])) {
options = groups[self.optionsParam] || {};
self.createOption($select, groups[idParam], groups[nameParam], defVal, options);
} else {
Expand Down
8 changes: 4 additions & 4 deletions js/dependent-dropdown.min.js

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

2 changes: 1 addition & 1 deletion js/locales/pt-BR → js/locales/pt-BR.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
(function ($) {
"use strict";

$.fn.depdropLocales['pt'] = {
$.fn.depdropLocales['pt-BR'] = {
loadingText: 'Carregando ...',
placeholder: 'Selecionar ...',
emptyMsg: 'Dados não encontrados'
Expand Down
2 changes: 1 addition & 1 deletion js/locales/pt.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Dependent Dropdown French Translations
* Dependent Dropdown Portugese Translations
*
* This file must be loaded after 'dependent-dropdown.js'. Patterns in braces '{}', or
* any HTML markup tags in the messages must not be converted or translated.
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": "dependent-dropdown",
"version": "1.4.8",
"version": "1.4.9",
"homepage": "https://github.com/kartik-v/dependent-dropdown",
"authors": [
"Kartik Visweswaran <[email protected]>"
Expand Down

0 comments on commit 54a8806

Please sign in to comment.