| 314 | 314 | }); |
| 315 | 315 | |
| 316 | 316 | // Configure toast library: |
| 317 | | -/* toastr.options.escapeHtml = true; // Prevent raw HTML inserts |
| 318 | | -toastr.options.timeOut = 4000; // How long the toast will display without user interaction |
| 319 | | -toastr.options.extendedTimeOut = 10000; // How long the toast will display after a user hovers over it |
| 320 | | -toastr.options.progressBar = false; // Visually indicate how long before a toast expires. |
| 321 | | -toastr.options.closeButton = false; // enable a close button |
| 322 | | -toastr.options.hideEasing = 'linear'; |
| 323 | | -toastr.options.showEasing = 'linear'; |
| 324 | | -toastr.options.showMethod = 'fadeIn'; |
| 325 | | -toastr.options.hideMethod = 'fadeOut'; |
| 326 | | -toastr.options.showDuration = 1000; |
| 327 | | -toastr.options.hideDuration = 1000; */ |
| 328 | | -//toastr.options.positionClass = power_user.toastr_position; // Where to position the toast container |
| 329 | | - |
| 330 | | - |
| 331 | 317 | toastr.options = { |
| 332 | 318 | 'closeButton': false, |
| 333 | 319 | 'progressBar': false, |