commit/galaxy-central: guerler: Fix for Firefox
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/f7760ffba188/ Changeset: f7760ffba188 User: guerler Date: 2013-10-16 10:53:59 Summary: Fix for Firefox Affected #: 1 file diff -r 41d3434f8506bb13380bd072e64194519e32a36e -r f7760ffba1883eb14617890066778f38021f2d50 static/scripts/galaxy.upload.js --- a/static/scripts/galaxy.upload.js +++ b/static/scripts/galaxy.upload.js @@ -164,15 +164,17 @@ // get text component var text = it.find('#text'); + // get padding + var padding = 8; + // get dimensions - var padding = parseInt($(text.parent()).css('padding')); var width = it.width() - 2 * padding; - var height = it.height(); - + var height = it.height() - padding; + // set dimensions - text.width(width); + text.css('width', width + 'px'); text.css('top', height + 'px'); - it.height(height + text.height() + padding); + it.height(height + text.height() + 2 * padding); // show text field text.show(); @@ -471,7 +473,7 @@ 'Close' : function() {self.modal.hide()}, }, height : '400', - width : '850' + width : '900' }); // set element @@ -611,11 +613,13 @@ { // construct template var tmpl = '<tr id="' + id.substr(1) + '" class="upload-item">' + - '<td style="position: relative;">' + - '<div id="title" class="title"></div>' + - '<div id="text" class="text">' + - '<div class="text-info">You may specify a list of URLs (one per line) or paste the contents of a file.</div>' + - '<textarea id="text-content" class="text-content form-control"></textarea>' + + '<td>' + + '<div style="position: relative;">' + + '<div id="title" class="title"></div>' + + '<div id="text" class="text">' + + '<div class="text-info">You may specify a list of URLs (one per line) or paste the contents of a file.</div>' + + '<textarea id="text-content" class="text-content form-control"></textarea>' + + '</div>' + '</div>' + '</td>' + '<td><div id="size" class="size"></div></td>'; Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org