Commit f8dcb628 authored by Liang Ding's avatar Liang Ding

Merge branch '3.5.0-dev'

parents 0c7a1486 c2eb30aa
...@@ -79,7 +79,7 @@ function miniAdmin () { ...@@ -79,7 +79,7 @@ function miniAdmin () {
'./src/main/webapp/js/admin/others.js', './src/main/webapp/js/admin/others.js',
'./src/main/webapp/js/admin/linkList.js', './src/main/webapp/js/admin/linkList.js',
'./src/main/webapp/js/admin/preference.js', './src/main/webapp/js/admin/preference.js',
'./src/main/webapp/js/admin/theme-list.js', './src/main/webapp/js/admin/themeList.js',
'./src/main/webapp/js/admin/pluginList.js', './src/main/webapp/js/admin/pluginList.js',
'./src/main/webapp/js/admin/userList.js', './src/main/webapp/js/admin/userList.js',
'./src/main/webapp/js/admin/categoryList.js', './src/main/webapp/js/admin/categoryList.js',
......
...@@ -233,7 +233,7 @@ $.extend(Admin.prototype, { ...@@ -233,7 +233,7 @@ $.extend(Admin.prototype, {
}, 6000) }, 6000)
$('#loadMsg').text('') $('#loadMsg').text('')
window.onbeforeunload = (event) => { window.onbeforeunload = function (event) {
if (window.location.hash === '#article/article') { if (window.location.hash === '#article/article') {
if (event) { if (event) {
event.returnValue = Label.editorLeaveLabel event.returnValue = Label.editorLeaveLabel
...@@ -244,7 +244,7 @@ $.extend(Admin.prototype, { ...@@ -244,7 +244,7 @@ $.extend(Admin.prototype, {
$(document).ajaxError(function (event, xhr, options, exc) { $(document).ajaxError(function (event, xhr, options, exc) {
if (xhr.status !== 200) { if (xhr.status !== 200) {
$('#tipMsg').text(xhr.status + ': '+ exc) $('#tipMsg').text(xhr.status + ': ' + exc)
} }
}) })
}, },
......
This diff is collapsed.
This diff is collapsed.
Subproject commit 87265b97bce95132ea233903c3e91f9b101a31ca Subproject commit a5d63c72257319eefc2c90fec1961765413d3ff9
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