-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from SpiLLeR/custom-options
Custom options
- Loading branch information
Showing
6 changed files
with
12 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
* @package yii2-dialog | ||
* @author Kartik Visweswaran <[email protected]> | ||
* @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2016 | ||
* @version 1.0.2 | ||
* @version 1.0.3 | ||
*/ | ||
|
||
namespace kartik\dialog; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
* @package yii2-dialog | ||
* @author Kartik Visweswaran <[email protected]> | ||
* @copyright Copyright © Kartik Visweswaran, Krajee.com, 2015 - 2016 | ||
* @version 1.0.2 | ||
* @version 1.0.3 | ||
*/ | ||
|
||
namespace kartik\dialog; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
* @package yii2-dialog | ||
* @author Kartik Visweswaran <[email protected]> | ||
* @copyright Copyright © Kartik Visweswaran, Krajee.com, 2015 - 2016 | ||
* @version 1.0.2 | ||
* @version 1.0.3 | ||
*/ | ||
|
||
namespace kartik\dialog; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* @package yii2-dialog | ||
* @author Kartik Visweswaran <[email protected]> | ||
* @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2016 | ||
* @version 1.0.2 | ||
* @version 1.0.3 | ||
* | ||
* Provides a polyfill for javascript native alert, confirm, and prompt boxes. The BootstrapDialog will be used if | ||
* available or needed, else the javascript native dialogs will be rendered. | ||
|
@@ -45,7 +45,7 @@ var KrajeeDialog; | |
}, | ||
getOpts: function (type) { | ||
var self = this; | ||
return window.jQuery.extend({}, self.defaults[type], self.options); | ||
return window.jQuery.extend({}, self.defaults[type], self.options[type]); | ||
}, | ||
_dialog: function (type, message, callback) { | ||
var self = this, opts, out; | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.