Merge branch 'QA_4_7'

This commit is contained in:
Maurício Meneghini Fauth 2018-03-23 03:11:14 -03:00
commit b8e7e9fa3b
2 changed files with 4 additions and 2 deletions

View File

@ -48,6 +48,8 @@ phpMyAdmin - ChangeLog
- issue #13940 Honor arg_separator in AJAX requests
4.7.10 (not yet released)
- issue #14060 Can't edit rows in Internet Explorer
- issue #14096 Internet Explorer compatibility; fixes JavaScript error Object doesn't support property or method 'startsWith'
4.7.9 (2018-03-05)
- issue #13931 Fixed browsing tables with more results

View File

@ -1797,7 +1797,7 @@ function getJSConfirmCommonParam (elem, params) {
var sep = PMA_commonParams.get('arg_separator');
if (params) {
// Strip possible leading ?
if (params.startsWith('?')) {
if (params.substring(0,1) == '?') {
params = params.substr(1);
}
params += sep;
@ -5100,7 +5100,7 @@ function configGet(key, cached)
jQuery.fn.getPostData = function() {
var dataPost = this.attr('data-post');
// Strip possible leading ?
if (dataPost !== undefined && dataPost.startsWith('?')) {
if (dataPost !== undefined && dataPost.substring(0,1) == '?') {
dataPost = dataPost.substr(1);
}
return dataPost;