Skip to content

Commit c96ae67

Browse files
committed
Merge remote-tracking branch 'obsessive-owls/hackathon' into hackathon
2 parents 216b983 + 7d5664f commit c96ae67

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

app/code/Magento/PageBuilder/Controller/Adminhtml/Template/Save.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,6 @@ public function execute()
151151
// Store the preview image within the new entity
152152
$template->setPreviewImage($filePath);
153153
} catch (\Exception $e) {
154-
echo $e->getMessage();
155-
exit;
156154
$this->logger->critical($e);
157155

158156
return $this->resultFactory->create(ResultFactory::TYPE_JSON)->setData(

app/code/Magento/PageBuilder/view/adminhtml/web/template/modal/template-manager/save-content-modal.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
</label>
2828
<% } %>
2929
<div class="admin__field-control">
30-
<input type="text" data-role="promptField" id="prompt-field-<%- data.id %>" class="admin__control-text" <%= inputAttr %>/>
30+
<input type="text" data-role="promptField" id="prompt-field-<%- data.id %>" maxlength="250" class="admin__control-text" <%= inputAttr %>/>
3131
</div>
3232
</div>
3333
<% if(data.templateTypes){ %>

0 commit comments

Comments
 (0)