Use dashes instead of dots as separator for jQuery events in shiny updates

`.` is used for namespaces, so better to use dashes.

see #31819
props iseulde 



git-svn-id: https://develop.svn.wordpress.org/trunk@32063 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Aaron Jorbin 2015-04-07 03:12:01 +00:00
parent 43623c464c
commit 38f0420e12
1 changed files with 2 additions and 2 deletions

View File

@ -228,7 +228,7 @@ window.wp = window.wp || {};
wp.updates.updateDoneSuccessfully = true; wp.updates.updateDoneSuccessfully = true;
$(document).trigger( 'wp.plugin.update.success', response ); $(document).trigger( 'wp-plugin-update-success', response );
/* /*
* The lock can be released since the update was successful, * The lock can be released since the update was successful,
@ -265,7 +265,7 @@ window.wp = window.wp || {};
$message.text( wp.updates.l10n.updateFailed ); $message.text( wp.updates.l10n.updateFailed );
wp.a11y.speak( wp.updates.l10n.updateFailed ); wp.a11y.speak( wp.updates.l10n.updateFailed );
$(document).trigger( 'wp.plugin.update.error', response ); $(document).trigger( 'wp-plugin-update-error', response );
}; };
/** /**