]> source.dussan.org Git - jquery-ui.git/commitdiff
Dialog: Remove uuid and getTitleId. Leftovers from 240b22b1439df22408c5782e640e98cb33...
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Thu, 15 Nov 2012 23:09:01 +0000 (00:09 +0100)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Mon, 26 Nov 2012 09:28:23 +0000 (10:28 +0100)
ui/jquery.ui.dialog.js

index 8a52ff23627c3c70f3e4efc258218ca4c31bab67..9bd1f44a0fd36610ac34f3c4daa2df08d759e84a 100644 (file)
@@ -662,17 +662,6 @@ $.widget("ui.dialog", {
 });
 
 $.extend($.ui.dialog, {
-       // TODO remove these
-       uuid: 0,
-       getTitleId: function($el) {
-               var id = $el.attr( "id" );
-               if ( !id ) {
-                       this.uuid += 1;
-                       id = this.uuid;
-               }
-               return "ui-dialog-title-" + id;
-       },
-
        // TODO move to dialog instance method
        overlay: function( dialog ) {
                this.$el = $.ui.dialog.overlay.create( dialog );