Commit 64f2071a authored by Cecilia Vela Gurovic's avatar Cecilia Vela Gurovic Committed by Gerrit Code Review
Browse files

Merge "Bug 1801993: Remove old Mochikit function call"

parents 79a0ef38 07d6e505
......@@ -509,7 +509,7 @@
};
if (config.blockeditormaxwidth) {
pd['cfheight'] = getViewportDimensions().h - 100;
pd['cfheight'] = $(window).height() - 100;
}
pd['action_addblocktype_row_' + whereTo['row'] + '_column_' + whereTo['column'] + '_order_' + whereTo['order']] = true;
......@@ -827,7 +827,7 @@
'change': 1
};
if (config.blockeditormaxwidth) {
pd['cfheight'] = getViewportDimensions().h - 100;
pd['cfheight'] = $(window).height() - 100;
}
pd['action_moveblockinstance_id_' + instanceId + '_row_' + whereTo['row'] + '_column_' + whereTo['column'] + '_order_' + whereTo['order']] = true;
sendjsonrequest(config['wwwroot'] + 'view/blocks.json.php', pd, 'POST', function(data) {
......
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