summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-08-24 03:11:34 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-08-24 03:11:34 +0000
commitbf9c6341231cf2bc17895d54e41bc824eb742b7a (patch)
tree52ee004d1ad1cddf529552462f3e0ab7bf098add /modules/system
parent03a5563b899bf47d29914c812c5153fd725d6d46 (diff)
downloadbrdo-bf9c6341231cf2bc17895d54e41bc824eb742b7a.tar.gz
brdo-bf9c6341231cf2bc17895d54e41bc824eb742b7a.tar.bz2
#550572 by sun and c960657: Fixed CSS+JS regressions related to form-item-[name].
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/system-rtl.css5
-rw-r--r--modules/system/system.css5
-rw-r--r--modules/system/system.js8
3 files changed, 4 insertions, 14 deletions
diff --git a/modules/system/system-rtl.css b/modules/system/system-rtl.css
index 511143a04..21563a6ca 100644
--- a/modules/system/system-rtl.css
+++ b/modules/system/system-rtl.css
@@ -66,11 +66,6 @@ html.js fieldset.collapsed legend a {
background-position: 98% 50%;
}
-div.teaser-button-wrapper {
- float: left;
- padding-right: 0;
- padding-left: 5%;
-}
.teaser-checkbox div.form-item {
float: left;
margin: 0 0 0 5%;
diff --git a/modules/system/system.css b/modules/system/system.css
index 531ae65ed..fe9fa5d76 100644
--- a/modules/system/system.css
+++ b/modules/system/system.css
@@ -409,11 +409,6 @@ a.tabledrag-handle-hover .handle {
.teaser-checkbox {
padding-top: 1px;
}
-div.teaser-button-wrapper {
- float: right; /* LTR */
- padding-right: 5%; /* LTR */
- margin: 0;
-}
.teaser-checkbox div.form-item {
float: right; /* LTR */
margin: 0 5% 0 0; /* LTR */
diff --git a/modules/system/system.js b/modules/system/system.js
index 7637109e4..e9c505de4 100644
--- a/modules/system/system.js
+++ b/modules/system/system.js
@@ -8,15 +8,15 @@
Drupal.hideEmailAdministratorCheckbox = function () {
// Make sure the secondary box is shown / hidden as necessary on page load.
if ($('#edit-update-status-module-1').is(':checked')) {
- $('.update-status-module-2-wrapper').show();
+ $('.form-item-update-status-module-2').show();
}
else {
- $('.update-status-module-2-wrapper').hide();
+ $('.form-item-update-status-module-2').hide();
}
// Toggle the display as necessary when the checkbox is clicked.
$('#edit-update-status-module-1').change( function () {
- $('.update-status-module-2-wrapper').toggle();
+ $('.form-item-update-status-module-2').toggle();
})
};
@@ -196,7 +196,7 @@ Drupal.behaviors.machineReadableValue = {
// Build selector for the machine readable name.
var target = '#edit-' + settings.target;
// Build selector for the wrapper element around the target field.
- var wrapper = '.' + settings.target + '-wrapper';
+ var wrapper = '.form-item-' + settings.target;
// Do not process the element if we got an error or the given name and the
// machine readable name are identical or the machine readable name is