Commit f2d2579c authored by timeless%mozdev.org's avatar timeless%mozdev.org
Browse files

Bug 175169 file size textbox in element properties not read only

patch by neil.marshall@sympatico.ca r=dean_tessman@hotmail.com sr=jag a=dbaron
parent 419eabf9
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -186,9 +186,9 @@ function checkForImage(elem, htmllocalname)

    if (img) {

        var imgInfo = imgType == "object" ? img.data : img.src;
        setInfo ("image-url", imgInfo);
        var size = getSize(imgInfo);
        var imgURL = imgType == "object" ? img.data : img.src;
        setInfo("image-url", imgURL);
        var size = getSize(imgURL);

        if (size != -1) {
            var kbSize = size / 1024;
+1 −1
Original line number Diff line number Diff line
@@ -134,7 +134,7 @@
	<row id="image-filesize">
          <separator orient="vertical"/>
          <label value="&image-filesize.label; "/>
          <textbox id="image-filesize-text"/>
          <textbox readonly="true" id="image-filesize-text"/>
	</row>
        <row id="image-alt">
          <separator orient="vertical"/>