Commit dca2db72 authored by Steven Jones's avatar Steven Jones

Issue #1018596 by Steven Jones: Fixed Aegir forms don't work in MSIE 8.0.

parent 0f0413dd
......@@ -93,7 +93,7 @@ Drupal.hosting.siteFormToggleOptions = function(settings) {
.find('div.placeholder')
.removeClass('error')
.contents()
.replaceWith($input_id.parent().text().trim());
.replaceWith($.trim($input_id.parent().text()));
}
}
else {
......@@ -119,7 +119,7 @@ Drupal.hosting.siteFormToggleOptions = function(settings) {
$desc_id.show()
.find('div.placeholder')
.contents().
replaceWith($input_id.val().trim());
replaceWith($.trim($input_id.val()));
}
}
else if ((settings[key].toString().length || (settings[key] == true)) && (settings[key] != false)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment