]> source.dussan.org Git - jquery-ui.git/commitdiff
Progressbar: Remove core event/alias and deprecated module dependencies
authorAlexander Schmitz <arschmitz@gmail.com>
Thu, 14 May 2015 02:34:05 +0000 (22:34 -0400)
committerAlexander Schmitz <arschmitz@gmail.com>
Wed, 20 May 2015 18:27:58 +0000 (14:27 -0400)
demos/progressbar/download.html

index 7e197d571b55e25ddf96626f1484178cfc001234..1253176a41600fe7f89e03137bfedfcf76e4f751 100644 (file)
@@ -59,7 +59,7 @@
                                        text: "Close",
                                        click: closeDownload
                                }]);
-                               $(".ui-dialog button").last().focus();
+                               $(".ui-dialog button").last().trigger( "focus" );
                        }
                });
 
@@ -81,7 +81,7 @@
                        progressbar.progressbar( "value", false );
                        progressLabel
                                .text( "Starting download..." );
-                       downloadButton.focus();
+                       downloadButton.trigger( "focus" );
                }
        });
        </script>