Skip to content

Commit

Permalink
Merge branch 'patch-4' into patch-3
Browse files Browse the repository at this point in the history
  • Loading branch information
srenon committed Jan 20, 2016
2 parents dd32ab0 + 4cbe4db commit e17bbbb
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ $jsonHelper = $this->helper('Magento\Framework\Json\Helper\Data');

<script>
require([
'prototype'
], function () {
'jquery'
], function ($) {
window.resetRobotsToDefault = function(){
$('design_search_engine_robots_custom_instructions').value = <?php
$('#design_search_engine_robots_custom_instructions').val(<?php
/* @escapeNotVerified */ echo $jsonHelper->jsonEncode($block->getRobotsDefaultCustomInstructions())
?>;
?>);
}
});
</script>

<?php echo $block->getButtonHtml() ?>
<?php echo $block->getButtonHtml(); ?>

0 comments on commit e17bbbb

Please sign in to comment.