Bug 489212 - EIO_onDescriptionFieldInput() should be EIO_onDescriptionFieldBlur(). r=mak
authorMichael Kohler <michaelkohler@live.com>
Tue, 21 Apr 2009 09:48:29 +0200
changeset 27563 0d3ed9d710c89cd8646a8155983d4f731179bade
parent 27562 647a8e601187b91e5b25cb617a025d8619e50c49
child 27564 84e3a35c19a6e4b6c57ee082d437c3461a83bd61
push id6617
push userdgottwald@mozilla.com
push dateTue, 21 Apr 2009 07:51:19 +0000
treeherdermozilla-central@84e3a35c19a6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmak
bugs489212
milestone1.9.2a1pre
Bug 489212 - EIO_onDescriptionFieldInput() should be EIO_onDescriptionFieldBlur(). r=mak
browser/components/places/content/editBookmarkOverlay.js
--- a/browser/components/places/content/editBookmarkOverlay.js
+++ b/browser/components/places/content/editBookmarkOverlay.js
@@ -716,17 +716,17 @@ var gEditItemOverlay = {
                        .isMicrosummary(this._itemId, newMicrosummary))) {
       txns.push(ptm.editBookmarkMicrosummary(this._itemId, newMicrosummary));
     }
 
     var aggregate = ptm.aggregateTransactions("Edit Item Title", txns);
     ptm.doTransaction(aggregate);
   },
 
-  onDescriptionFieldBlur: function EIO_onDescriptionFieldInput() {
+  onDescriptionFieldBlur: function EIO_onDescriptionFieldBlur() {
     var description = this._element("descriptionField").value;
     if (description != PlacesUIUtils.getItemDescription(this._itemId)) {
       var txn = PlacesUIUtils.ptm
                              .editItemDescription(this._itemId, description);
       PlacesUIUtils.ptm.doTransaction(txn);
     }
   },