more fixes for the popup styling
authorLinda Nichols <lynnaloo@gmail.com>
Thu, 28 Aug 2014 18:28:25 +0000 (18:28 +0000)
committerLinda Nichols <lynnaloo@gmail.com>
Thu, 28 Aug 2014 18:28:25 +0000 (18:28 +0000)
enyo-client/extensions/source/oauth2/client/en/strings.js
lib/enyo-x/source/views/module_container.js

index c3333ab..56c2a22 100644 (file)
@@ -17,9 +17,8 @@ strict:true, trailing:true, white:true */
     "_issued": "Issued",
     "_fullListUrl": "Full List URL",
     "_generatingPrivateKey": "A new keypair will be generated for this OAUTH2 client. " +
-      "The public key will be saved in the database with this client. The private key " +
-      "is available as a one-time download with a password of " +
-      "\"notasecret\".",
+      "The public key will be available in the future with this client. The private key " +
+      "is only available now as a one-time download.",
     "_logoURL": "Logo URL",
     "_maintainOauth2clients": "Maintain OAUTH2 Clients",
     "_oauth2": "OAUTH2",
index 8fc8ee1..7130a80 100644 (file)
@@ -304,7 +304,7 @@ trailing:true, white:true*/
       this._notifyDone = false;
       this.$.notifyPopup.render();
       this.$.notifyPopup.show();
-      // for some reason the opacity of the popup is messed up here
+      // Without this fix, the popup renders transparent
       this.$.notifyPopup.applyStyle("opacity", 1);
     },
     notifyHidden: function () {
@@ -441,8 +441,8 @@ trailing:true, white:true*/
       }, {owner: this});
       this.$.popupWorkspace.createComponent({name: "workspace", kind: inEvent.workspace,
         container: this.$.popupScroller});
-      // inline css :(
-      //this.$.popupWorkspace.$.workspace.addStyles("color:black;");
+      // TODO: inline css - git rid of it!
+      this.$.popupWorkspace.$.workspace.addStyles("color:black;");
       this.$.popupWorkspace.$.workspace.setValue(inEvent.model);
       // create button bar
       this.$.popupWorkspace.createComponent({classes: "xv-buttons", name: "workspaceButtons"}, {owner: this});
@@ -462,8 +462,8 @@ trailing:true, white:true*/
       }], {owner: this});
       this.$.popupWorkspace.render();
       this.$.popupWorkspace.show();
-      // for some reason the opacity of the popup is messed up here
-      this.$.notifyPopup.applyStyle("opacity", 1);
+      // Without this fix, the popup renders transparent
+      this.$.popupWorkspace.applyStyle("opacity", 1);
     },
     popupWorkspaceTap: function (inSender, inEvent) {
       var model = this.$.popupWorkspace.$.workspace.value,