Revision: 178
http://sourceforge.net/p/mathcast/code/178
Author: timothylee
Date: 2014-08-28 12:38:01 +0000 (Thu, 28 Aug 2014)
Log Message:
-----------
- Fix bugs in <flatbutton> code
Modified Paths:
--------------
trunk/chrome/content/bindings/flatbutton.xml
Modified: trunk/chrome/content/bindings/flatbutton.xml
===================================================================
--- trunk/chrome/content/bindings/flatbutton.xml 2013-03-18 20:08:48 UTC (rev 177)
+++ trunk/chrome/content/bindings/flatbutton.xml 2014-08-28 12:38:01 UTC (rev 178)
@@ -26,7 +26,7 @@
<xul:box class="flatbutton-content"
xbl:inherits="dir,align,pack,orient"
align="center" pack="center" flex="1">
- <xul:image xbl:inherits="image=src,validate,src"/>
+ <xul:image xbl:inherits="src=image,validate,src"/>
<xul:label class="flatbutton-label"
xbl:inherits="value=label,accesskey,crop" flex="1"/>
</xul:box>
@@ -72,9 +72,8 @@
<field name="_cmdId">
<![CDATA[
- var body = document.getAnonymousElementByAttribute(this,
- "anonid", "body");
- this._cmdId = body.getAttribute("cmd");
+ document.getAnonymousElementByAttribute(this, "anonid", "body")
+ .getAttribute("cmd");
]]>
</field>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|