Experimentation for using this with the always entry
Change-Id: Id749a581f0b97d204b0347f7730ea10522d7c735
diff --git a/dev/js/src/alwaysentry.js b/dev/js/src/alwaysentry.js
index f3f7b42..ae99ae9 100644
--- a/dev/js/src/alwaysentry.js
+++ b/dev/js/src/alwaysentry.js
@@ -26,16 +26,20 @@
.upgradeTo(this)
._init();
obj._el.innerHTML = text || "Speichern";
+ obj._el.classList.remove("pref");
+ obj._el.classList.add("entry");
//dont forget to adjust alwaysMenuSpec - alwaysEntry!
return obj;
},
_update : function () {
+ /*
if (this._string.length!==0){ // I assume that this is a sufficient criterium for infering that the prefix is active
this._el.style.bottom="-27px";
} else if (this._string.length===0) {
this._el.style.bottom="0px";
}
+ */
return this._string; // No need to change the text (=innerHTML)
},