Skip to content

Commit f1f0c73

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents a85e1f2 + 9f2d4ea commit f1f0c73

File tree

6 files changed

+14
-9
lines changed

6 files changed

+14
-9
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
Yii2 multiple input change log
22
==============================
33

4-
1.2.14 in development
4+
1.2.15 in development
55
---------------------
66

7+
1.2.14
8+
------
9+
10+
- Bug #71: trigger the event after actual removal of row
11+
712
1.2.13
813
------
914

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Yii2 widget for handle multiple inputs for an attribute of model
88
[![License](https://poser.pugx.org/unclead/yii2-multiple-input/license)](https://packagist.org/packages/unclead/yii2-multiple-input)
99

1010
##Latest release
11-
The latest version of the extension is v1.2.13. Follow the [instruction](./UPGRADE.md) for upgrading from previous versions
11+
The latest version of the extension is v1.2.14. Follow the [instruction](./UPGRADE.md) for upgrading from previous versions
1212

1313
Contents:
1414

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"yii2 tabular input"
1010
],
1111
"type": "yii2-extension",
12-
"version": "1.2.13",
12+
"version": "1.2.14",
1313
"license": "BSD-3-Clause",
1414
"support": {
1515
"issues": "https://github.com/unclead/yii2-multiple-input/issues?state=open",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jquery.multipleInput",
3-
"version": "1.2.13",
3+
"version": "1.2.14",
44
"description": "jQuery multipleInput",
55
"scripts": {
66
"build": "npm install && (gulp || node node_modules/gulp/bin/gulp.js)"

src/assets/src/js/jquery.multipleInput.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@
198198
});
199199

200200
var jsTemplate;
201-
for (i in settings.jsTemplates) {
201+
for (var i in settings.jsTemplates) {
202202
jsTemplate = settings.jsTemplates[i]
203203
.replaceAll('{multiple_index}', data.currentIndex)
204204
.replaceAll('%7Bmultiple_index%7D', data.currentIndex);
@@ -230,10 +230,10 @@
230230

231231
$toDelete.fadeOut(300, function () {
232232
$(this).remove();
233+
234+
event = $.Event(events.afterDeleteRow);
235+
$wrapper.trigger(event);
233236
});
234-
235-
event = $.Event(events.afterDeleteRow);
236-
$wrapper.trigger(event);
237237
}
238238
};
239239

src/assets/src/js/jquery.multipleInput.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)