Index: chrome/browser/resources/chromeos/login/oobe.js |
=================================================================== |
--- chrome/browser/resources/chromeos/login/oobe.js (revision 95585) |
+++ chrome/browser/resources/chromeos/login/oobe.js (working copy) |
@@ -517,6 +517,15 @@ |
} |
}; |
+ /** |
+ * Sets text content for a div with |labelId|. |
+ * @param {string} labelId Id of the label div. |
+ * @param {string} labelText Text for the label. |
+ */ |
+ Oobe.setLabelText = function(labelId, labelText) { |
+ $(labelId).textContent = labelText; |
+ }; |
+ |
// Export |
return { |
Oobe: Oobe |