Commit 1f4c54f2 by Tim Krones

Remove IE9 shims.

parent 461ea84e
...@@ -254,17 +254,6 @@ ...@@ -254,17 +254,6 @@
margin-bottom: auto !important; margin-bottom: auto !important;
} }
/*** IE9 alignment fix ***/
.lt-ie10 .xblock--drag-and-drop .zone {
display: table;
}
.lt-ie10 .xblock--drag-and-drop .zone p {
display: table-cell;
vertical-align: middle;
text-align: center;
}
/*** FEEDBACK ***/ /*** FEEDBACK ***/
.xblock--drag-and-drop .feedback { .xblock--drag-and-drop .feedback {
......
...@@ -50,17 +50,6 @@ ...@@ -50,17 +50,6 @@
margin-bottom: auto; margin-bottom: auto;
} }
/*** IE9 alignment fix ***/
.lt-ie10 .xblock--drag-and-drop--editor .zone {
display: table;
}
.lt-ie10 .xblock--drag-and-drop--editor .zone p {
display: table-cell;
vertical-align: middle;
text-align: center;
}
/** Builder **/ /** Builder **/
.xblock--drag-and-drop--editor .hidden { .xblock--drag-and-drop--editor .hidden {
display: none !important; display: none !important;
......
...@@ -87,9 +87,6 @@ function DragAndDropEditBlock(runtime, element, params) { ...@@ -87,9 +87,6 @@ function DragAndDropEditBlock(runtime, element, params) {
$fbkTab.addClass('hidden'); $fbkTab.addClass('hidden');
$zoneTab.removeClass('hidden'); $zoneTab.removeClass('hidden');
// Placeholder shim for IE9
$.placeholder.shim();
$(this).one('click', function(e) { $(this).one('click', function(e) {
// $zoneTab -> $itemTab // $zoneTab -> $itemTab
e.preventDefault(); e.preventDefault();
...@@ -104,9 +101,6 @@ function DragAndDropEditBlock(runtime, element, params) { ...@@ -104,9 +101,6 @@ function DragAndDropEditBlock(runtime, element, params) {
$zoneTab.addClass('hidden'); $zoneTab.addClass('hidden');
$itemTab.removeClass('hidden'); $itemTab.removeClass('hidden');
// Placeholder shim for IE9
$.placeholder.shim();
$(this).addClass('hidden'); $(this).addClass('hidden');
$('.save-button', element).parent() $('.save-button', element).parent()
.removeClass('hidden') .removeClass('hidden')
...@@ -148,8 +142,6 @@ function DragAndDropEditBlock(runtime, element, params) { ...@@ -148,8 +142,6 @@ function DragAndDropEditBlock(runtime, element, params) {
_fn.build.$el.targetImage.attr('alt', new_description); _fn.build.$el.targetImage.attr('alt', new_description);
_fn.data.targetImgDescription = new_description; _fn.data.targetImgDescription = new_description;
// Placeholder shim for IE9
$.placeholder.shim();
}) })
.on('click', '.display-labels-form input', function(e) { .on('click', '.display-labels-form input', function(e) {
_fn.data.displayLabels = $('.display-labels-form input', element).is(':checked'); _fn.data.displayLabels = $('.display-labels-form input', element).is(':checked');
...@@ -211,8 +203,6 @@ function DragAndDropEditBlock(runtime, element, params) { ...@@ -211,8 +203,6 @@ function DragAndDropEditBlock(runtime, element, params) {
// Add zone div to target // Add zone div to target
_fn.build.form.zone.renderZonesPreview(); _fn.build.form.zone.renderZonesPreview();
// Placeholder shim for IE9
$.placeholder.shim();
}, },
remove: function(e) { remove: function(e) {
var $el = $(e.currentTarget).closest('.zone-row'), var $el = $(e.currentTarget).closest('.zone-row'),
...@@ -235,8 +225,6 @@ function DragAndDropEditBlock(runtime, element, params) { ...@@ -235,8 +225,6 @@ function DragAndDropEditBlock(runtime, element, params) {
_fn.build.form.zone.formCount--; _fn.build.form.zone.formCount--;
_fn.build.form.zone.disableDelete(); _fn.build.form.zone.disableDelete();
// Placeholder shim for IE9
$.placeholder.shim();
}, },
enableDelete: function() { enableDelete: function() {
if (_fn.build.form.zone.formCount > 1) { if (_fn.build.form.zone.formCount > 1) {
...@@ -362,8 +350,6 @@ function DragAndDropEditBlock(runtime, element, params) { ...@@ -362,8 +350,6 @@ function DragAndDropEditBlock(runtime, element, params) {
$form.append(tpl(ctx)); $form.append(tpl(ctx));
_fn.build.form.item.enableDelete(); _fn.build.form.item.enableDelete();
// Placeholder shim for IE9
$.placeholder.shim();
}, },
remove: function(e) { remove: function(e) {
var $el = $(e.currentTarget).closest('.item'); var $el = $(e.currentTarget).closest('.item');
...@@ -374,8 +360,6 @@ function DragAndDropEditBlock(runtime, element, params) { ...@@ -374,8 +360,6 @@ function DragAndDropEditBlock(runtime, element, params) {
_fn.build.form.item.count--; _fn.build.form.item.count--;
_fn.build.form.item.disableDelete(); _fn.build.form.item.disableDelete();
// Placeholder shim for IE9
$.placeholder.shim();
}, },
enableDelete: function() { enableDelete: function() {
if (_fn.build.form.item.count > 1) { if (_fn.build.form.item.count > 1) {
......
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