Fetching contributors…
Cannot retrieve contributors at this time
123 lines (79 sloc) 7.59 KB

version 2.0.0 (August 01, 2018)

  • added a new "auto_focus_button" property for indicating the button to place the focus on when a dialog box is first shown
  • simplified dialogs' HTML markup and all the classes indicating various states/setups of the dialog box are now added to the main container
  • some of the alignments done previously from JavaScript are now done from CSS - but still working in IE6 :)
  • completely rewritten the CSS for the themes and we're now using clean-css to optimize CSS output, resulting in a reduction of 0.5KB for the flat theme and 1.8KB for the classic theme
  • added a new materialize theme, inspired by Google Material Design

version 1.6.0 (July 10, 2018)

  • "warning" dialog boxes now have "Yes" and "No" buttons instead of just the "Ok" button
  • changed the labels for the buttons on "confirmation" dialog boxes from "Yes" and "No" to "Ok" and "Cancel"
  • revamped example pages

version 1.5.0 (July 05, 2018)

  • fixed bug where inputs in dialog box could never receive focus on mobile devices - see #14, thanks Clément!
  • fixed #18 where the plugin was not working in IE8
  • custom classes can now be added to buttons; this fixes #15
  • added version number as a public property - useful to find out the version number even if all you have is the minified source code; see #13

version 1.4.1 (October 13, 2017)

  • fixed bug where dialog box height could exceed viewport height; see #8
  • fixed scrolling on iPhone; see #9

version 1.4.0 (June 04, 2017)

  • performance improvements and source code tweaks
  • new folder structure
  • the home of the library is now exclusively on GitHub
  • files required in the build process are not included anymore when installing via npm nor when downloading from GitHub

version 1.3.12 (January 26, 2016)

version 1.3.9 (January 21, 2016)

  • added missing preloader.gif file to the "flat" theme; thanks to Juan for reporting;
  • replaced all instances of jQuery with $, for consistency and for making it easier to use with jQuery.noConflict(); thanks to Julio for suggesting;
  • fixes and additions to the bowser.json file, for better integration with Bower
  • examples now use jQuery version 1.12.0
  • dropped support for jQuery's deprectated official plugins repository

version 1.3.8 (December 20, 2013)

  • fixed a bug where setting the "type" attribute to FALSE would not remove the left padding of the dialog box; thanks to Laurent for reporting
  • added "use strict" statement
  • added integration with Grunt
  • the library is now available as a Bower package

version 1.3.7 (November 26, 2013)

  • added a new "flat" theme

version 1.3.6 (October 16, 2013)

  • fixed a bug where custom buttons were showing up in reversed order;
  • fixed a bug where, since the previous release, you'd have to explicitly return TRUE from a callback function attached to a custom button, in order for the dialog box to close;
  • thanks to store88 for spotting both of the above!

version 1.3.5 (September 08, 2013)

  • dialog boxes can now be kept open on button click; previously there was no way of keeping a dialog box from closing when a button was clicked; now, returning FALSE from the callback will do just that;

version 1.3.4 (August 18, 2013)

  • added a new "center_buttons" property which when set to TRUE will instruct the script to center any available buttons instead of floating them to the right;
  • added a new "show_close_button" property which is set to TRUE by default and which displays the little "x" button in the top-right of the dialog box;
  • fixed a few issues in order to keep JSHint (reasonably) happy;
  • slightly increased performance due to optimal management of event handlers;
  • fixed an issue where some things that should've been done in CSS were done in JavaScript;

version 1.3.3 (May 29, 2013)

  • The z-index value for the overlay and the dialog box can now be set from CSS. Previously these were set in the JavaScript code and would require hacking the source code in order to change them; thanks Israel Sato

version 1.3.2 (May 26, 2013)

  • fixed a bug where if the "reposition_speed" property was > 0 and the browser window was manually resized, the animations for repositioning the window would queue up and slow down the process to almost a complete halt;
  • changed the name of the "animaton_speed" property to "animation_speed_hide" and added a new "animation_speed_show" used to set the speed by which the dialog box will fade in when appearing;

version 1.3.1 (May 06, 2013)

version 1.3 (April 08, 2013)

  • external content can now easily be loaded into the dialog box via AJAX, or using an iFrame, or an inline element, by using the newly added "source" property; when passing an inline element, it will be copied together with any attached events - useful for passing, for example, a complete form with attached events; thanks to tom;
  • the dialog box will use an animation when repositioning due to a browser window resize; the animation's speed is set by the newly added "reposition_speed" property;
  • the plugin is now available on GitHub!

version 1.2.2 (February 09, 2013)

  • added a new "max_height" property; when setting it to something to other than "0", the content in the dialog box will be scrolled if it's height exceeds the given value;
  • new layout;

version 1.2.1 (January 28, 2013)

  • fixed an issue due to which the plugin was not working with jQuery 1.9.0;

version 1.2 (April 07, 2012)

  • when used as a notification widget, the notification can now be closed before the timer runs out by clicking on it; thanks to Ovidiu Mihalcea for suggesting;
  • callback functions can now be attached to custom buttons; credit goes to Matt!
  • added an example on how to add custom icons

version 1.1.1 (September 24, 2011)

  • fixed a bug where the script would sometimes "forget" to clear the semi-transparent overlay; thanks to Jack Everson for reporting;

version 1.1 (August 18, 2011)

  • the last button of the dialog box will now have the focus once the dialog box is open. previously, for any dialog boxes other than notifications, if the user pressed the ENTER key, it re-triggered the event and more dialog boxes were shown one on top of the other; thanks to Yasir for reporting;
  • it is now possible to add a custom class to the dialog box; this makes it easy to switch between styles at run-time; thanks to Ed for suggesting;
  • fixed a bug where the message's text color was inherited; now it is set from the CSS file;
  • examples are now also available in the downloadable package;

version 1.0 (June 25, 2011)

  • initial release