From d1db1f5e10dca2693f11f7f950911a3628dde2b0 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Sat, 9 Jul 2016 11:42:04 +0000 Subject: [PATCH] Upgrade/Install: Do not remove event handlers when trying to update a theme. Previously, when clicking "Update now" the callbacks were erroneously removed. This prevented opening the filesystem credentials modal for a second time. Fixes #37285. git-svn-id: https://develop.svn.wordpress.org/trunk@38019 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/js/theme.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/wp-admin/js/theme.js b/src/wp-admin/js/theme.js index 7165540a39..a26443686f 100644 --- a/src/wp-admin/js/theme.js +++ b/src/wp-admin/js/theme.js @@ -611,7 +611,6 @@ themes.view.Theme = wp.Backbone.View.extend({ updateTheme: function( event ) { var _this = this; event.preventDefault(); - this.$el.off( 'click', '.update-message' ); wp.updates.maybeRequestFilesystemCredentials( event );