summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-11-13 14:30:38 -0800
committerTim Almdal <tnalmdal@shaw.ca>2009-11-13 14:30:38 -0800
commit670629fe10322ca3b996d2ec4206a1aa71ae449d (patch)
tree0e3428ace1e9c7c3f6be27bc74211b097026e447 /modules
parent0fe32a61f6c55e1302e45358375bf69a161ccdd4 (diff)
In order for us to provide a button that is style the way we want it to, we need to make the object transparent and hide its button, then our styling shows through. But what worked the other day no longer works, so until thumb gets a chance to look at the style so the buttons line up, we will just go with the default button so it works.
Diffstat (limited to 'modules')
-rw-r--r--modules/gallery/views/simple_uploader.html.php15
1 files changed, 6 insertions, 9 deletions
diff --git a/modules/gallery/views/simple_uploader.html.php b/modules/gallery/views/simple_uploader.html.php
index 8f296ab2..10e748b6 100644
--- a/modules/gallery/views/simple_uploader.html.php
+++ b/modules/gallery/views/simple_uploader.html.php
@@ -15,8 +15,8 @@
cancelImg: "<?= url::file("lib/uploadify/cancel.png") ?>",
buttonText: <?= t("Select Photos ...")->for_js() ?>,
simUploadLimit: 10,
- wmode: "transparent",
- hideButton: true,
+ //wmode: "transparent",
+ hideButton: false, /* should be true */
auto: true,
multi: true,
onAllComplete: function(filesUploaded, errors, allbytesLoaded, speed) {
@@ -81,8 +81,8 @@
// @todo figure out how to actually get the offset or why it comes back 0 0
var offset = $("#g-add-photos-button").offset();
- $("#g-uploadifyUploader").css({top: "97px", position: "absolute", left: "198px"});
- $("#g-add-photos-button").height("40px").width("120px");
+ //$("#g-uploadifyUploader").css({top: "97px", position: "absolute", left: "198px"});
+ //$("#g-add-photos-button").height("40px").width("120px");
});
</script>
@@ -115,11 +115,8 @@
</div>
<div id="g-add-photos-canvas" style="text-align: center;">
- <a id="g-add-photos-button" class="ui-corner-all" style="padding-bottom: 1em;" href="#"><?= t("Select Photos...") ?></a>
-
- <div id="g-uploadify"></div>
-
-
+ <!-- a id="g-add-photos-button" class="ui-corner-all" style="padding-bottom: 1em;" href="#"><?= t("Select Photos...") ?></a -->
+ <span id="g-uploadify"></span>
</div>
<div id="g-add-photos-status" style="text-align: center;">
<ul>