svn changeset:8443/svn branch:6.0tags/6.7.0.beta1
@@ -1441,6 +1441,7 @@ div.v-tree-node-leaf { | |||
position: relative; | |||
width: 10em; | |||
margin:0; | |||
overflow:hidden; | |||
} | |||
.v-upload-immediate input { | |||
@@ -1457,6 +1458,7 @@ div.v-tree-node-leaf { | |||
left:0; | |||
top:0; | |||
width:100%; | |||
text-align:left; | |||
} | |||
@@ -2,6 +2,7 @@ | |||
position: relative; | |||
width: 10em; | |||
margin:0; | |||
overflow:hidden; | |||
} | |||
.v-upload-immediate input { | |||
@@ -18,5 +19,6 @@ | |||
left:0; | |||
top:0; | |||
width:100%; | |||
text-align:left; | |||
} | |||
@@ -1441,6 +1441,7 @@ div.v-tree-node-leaf { | |||
position: relative; | |||
width: 10em; | |||
margin:0; | |||
overflow:hidden; | |||
} | |||
.v-upload-immediate input { | |||
@@ -1457,6 +1458,7 @@ div.v-tree-node-leaf { | |||
left:0; | |||
top:0; | |||
width:100%; | |||
text-align:left; | |||
} | |||
@@ -1441,6 +1441,7 @@ div.v-tree-node-leaf { | |||
position: relative; | |||
width: 10em; | |||
margin:0; | |||
overflow:hidden; | |||
} | |||
.v-upload-immediate input { | |||
@@ -1457,6 +1458,7 @@ div.v-tree-node-leaf { | |||
left:0; | |||
top:0; | |||
width:100%; | |||
text-align:left; | |||
} | |||
@@ -153,13 +153,13 @@ public class VUpload extends FormPanel implements Paintable, | |||
protected void disableUpload() { | |||
submitButton.setEnabled(false); | |||
fu.setVisible(false); | |||
// fu.getElement().setPropertyBoolean("disabled", true); | |||
enabled = false; | |||
} | |||
protected void enableUploaod() { | |||
submitButton.setEnabled(true); | |||
fu.setVisible(true); | |||
// fu.getElement().setPropertyBoolean("disabled", false); | |||
enabled = true; | |||
} | |||
@@ -172,7 +172,7 @@ public class VUpload extends FormPanel implements Paintable, | |||
panel.remove(fu); | |||
fu = new MyFileUpload(); | |||
fu.setName(paintableId + "_file"); | |||
fu.setVisible(enabled); | |||
// fu.getElement().setPropertyBoolean("disabled", !enabled); | |||
panel.add(fu); | |||
panel.add(submitButton); | |||
if (immediate) { |