diff --git a/htdocs/js/views.js b/htdocs/js/views.js index faf17f987e2aa34f7b35a4fa9d5e713c8d60dc80..86aeab0270806e582feedd7f38f6d91a961d1ac3 100644 --- a/htdocs/js/views.js +++ b/htdocs/js/views.js @@ -404,7 +404,7 @@ var position = $(this).val().split('-'), element = workspace.find('.js-col-row').eq(parseInt(position[0], 10) - 1).find('.column').eq(parseInt(position[1], 10) - 1), - options = [get_string('blockordertop')], + options = [get_string('blockordertopcell')], selectbox = $('#addblock_position'); element.find('.column-content .blockinstance .blockinstance-header').each(function() { diff --git a/htdocs/lang/en.utf8/view.php b/htdocs/lang/en.utf8/view.php index 25dacf41cbdadac410dcfce35e6d07ceefda8235..9825c1b94bea6db488417aa42bda3e391bb8fbe4 100644 --- a/htdocs/lang/en.utf8/view.php +++ b/htdocs/lang/en.utf8/view.php @@ -261,7 +261,7 @@ $string['addblock'] = 'Add block: %s'; $string['blockcell'] = 'Cell'; $string['cellposition'] = 'Row %s Column %s'; $string['blockorder'] = 'Position'; -$string['blockordertop'] = 'Top of column'; +$string['blockordertopcell'] = 'Top of cell'; $string['blockorderafter'] = 'After "%s"'; $string['rownr'] = 'Row %s'; $string['nrrows'] = array( diff --git a/htdocs/view/blocks.php b/htdocs/view/blocks.php index 0cc0baa16c0082f95351dea51ce220c01be01b3a..59a44ff74218f9b4ca9b1589e5775113c17228d1 100644 --- a/htdocs/view/blocks.php +++ b/htdocs/view/blocks.php @@ -196,7 +196,7 @@ $smarty = smarty($javascript, $stylesheets, array( 'view' => array( 'addblock', 'cellposition', - 'blockordertop', + 'blockordertopcell', 'blockorderafter', 'moveblock', ),