Skip to content

Commit 3de5edb

Browse files
author
Natalia Momotenko
committed
Merge pull request #32 from magento-webdev/develop
[UI] Pre-Milestone 8 work
2 parents ea1c57c + 25764b8 commit 3de5edb

File tree

489 files changed

+3263
-7279
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

489 files changed

+3263
-7279
lines changed

app/code/Magento/AdminNotification/view/adminhtml/templates/system/messages/popup.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<?php endforeach;?>
1515
</ul>
1616
</div>
17-
<script type="text/javascript">
17+
<script>
1818
require([
1919
"jquery",
2020
"jquery/ui"

app/code/Magento/Backend/Block/Widget/Form/Container.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ public function getFormHtml()
178178
public function getFormInitScripts()
179179
{
180180
if (!empty($this->_formInitScripts) && is_array($this->_formInitScripts)) {
181-
return '<script type="text/javascript">' . implode("\n", $this->_formInitScripts) . '</script>';
181+
return '<script>' . implode("\n", $this->_formInitScripts) . '</script>';
182182
}
183183
return '';
184184
}
@@ -189,7 +189,7 @@ public function getFormInitScripts()
189189
public function getFormScripts()
190190
{
191191
if (!empty($this->_formScripts) && is_array($this->_formScripts)) {
192-
return '<script type="text/javascript">' . implode("\n", $this->_formScripts) . '</script>';
192+
return '<script>' . implode("\n", $this->_formScripts) . '</script>';
193193
}
194194
return '';
195195
}

app/code/Magento/Backend/Block/Widget/Form/Element/Dependence.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ protected function _toHtml()
120120
if (!$this->_depends) {
121121
return '';
122122
}
123-
return '<script type="text/javascript">
123+
return '<script>
124124
require(["mage/adminhtml/form"], function(){
125125
new FormElementDependenceController(' .
126126
$this->_getDependsJson() .

app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Date.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public function getHtml()
8686
' value="' .
8787
$this->_localeResolver->getLocaleCode() .
8888
'"/>';
89-
$html .= '<script type="text/javascript">
89+
$html .= '<script>
9090
require(["jquery", "mage/calendar"], function($){
9191
$("#' .
9292
$htmlId .

app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Datetime.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public function getHtml()
130130
) . '/>' . '</div></div>';
131131
$html .= '<input type="hidden" name="' . $this->_getHtmlName() . '[locale]"' . ' value="'
132132
. $this->_localeResolver->getLocaleCode() . '"/>';
133-
$html .= '<script type="text/javascript">
133+
$html .= '<script>
134134
require(["jquery", "mage/calendar"],function($){
135135
$("#' . $htmlId . '_range").dateRange({
136136
dateFormat: "' . $format . '",

app/code/Magento/Backend/Controller/Adminhtml/Auth/DeniedIframe.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function __construct(
3232
*/
3333
protected function _getDeniedIframe()
3434
{
35-
return '<script type="text/javascript">parent.window.location = \''
35+
return '<script>parent.window.location = \''
3636
. $this->_helper->getHomePageUrl() . '\';</script>';
3737
}
3838

app/code/Magento/Backend/view/adminhtml/layout/default.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
<block class="Magento\Backend\Block\Page\Copyright" name="copyright" as="copyright"/>
7777
<block class="Magento\Backend\Block\Page\Footer" name="version" as="version">
7878
<arguments>
79-
<argument name="bugreport_url" xsi:type="string">http://www.magentocommerce.com/bug-tracking</argument>
79+
<argument name="bugreport_url" xsi:type="string">https://github.com/magento/magento2/issues</argument>
8080
</arguments>
8181
</block>
8282
</container>

app/code/Magento/Backend/view/adminhtml/templates/admin/login.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
</div>
3939
</fieldset>
4040
</form>
41-
<script type="text/javascript">
41+
<script>
4242
function initForm($){
4343
$('#login-form').form().validation();
4444
}

app/code/Magento/Backend/view/adminhtml/templates/dashboard/grid.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ $numColumns = sizeof($this->getColumns());
4545
</table>
4646
</div>
4747
<?php if ($this->canDisplayContainer()): ?>
48-
<script type="text/javascript">
48+
<script>
4949
var deps = ['mage/adminhtml/grid'];
5050

5151
<?php if (strpos($this->getRowClickCallback(), 'order.') !== false): ?>

app/code/Magento/Backend/view/adminhtml/templates/dashboard/index.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
?>
77

88
<?php if (is_array($this->getChildBlock('diagrams')->getTabsIds())) : ?>
9-
<script type="text/javascript">
9+
<script>
1010
function changeDiagramsPeriod(periodObj) {
1111
periodParam = periodObj.value ? 'period/' + periodObj.value + '/' : '';
1212
<?php foreach ($this->getChildBlock('diagrams')->getTabsIds() as $tabId): ?>

0 commit comments

Comments
 (0)