Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Nextcloud
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Nextcloud
Commits
6994a2a8
Unverified
Commit
6994a2a8
authored
6 years ago
by
Morris Jobke
Committed by
GitHub
6 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #11679 from nextcloud/refactor/remove-ie8-apis
Remove IE8 APIs
parents
2a9e0063
d9783af7
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
apps/files/js/mainfileinfodetailview.js
+0
-1
0 additions, 1 deletion
apps/files/js/mainfileinfodetailview.js
apps/files/js/newfilemenu.js
+0
-1
0 additions, 1 deletion
apps/files/js/newfilemenu.js
core/js/js.js
+0
-29
0 additions, 29 deletions
core/js/js.js
with
0 additions
and
31 deletions
apps/files/js/mainfileinfodetailview.js
+
0
−
1
View file @
6994a2a8
...
@@ -187,7 +187,6 @@
...
@@ -187,7 +187,6 @@
}
else
{
}
else
{
var
iconUrl
=
this
.
model
.
get
(
'
icon
'
)
||
OC
.
MimeType
.
getIconUrl
(
'
dir
'
);
var
iconUrl
=
this
.
model
.
get
(
'
icon
'
)
||
OC
.
MimeType
.
getIconUrl
(
'
dir
'
);
$iconDiv
.
css
(
'
background-image
'
,
'
url("
'
+
iconUrl
+
'
")
'
);
$iconDiv
.
css
(
'
background-image
'
,
'
url("
'
+
iconUrl
+
'
")
'
);
OC
.
Util
.
scaleFixForIE8
(
$iconDiv
);
}
}
this
.
$el
.
find
(
'
[title]
'
).
tooltip
({
placement
:
'
bottom
'
});
this
.
$el
.
find
(
'
[title]
'
).
tooltip
({
placement
:
'
bottom
'
});
}
else
{
}
else
{
...
...
This diff is collapsed.
Click to expand it.
apps/files/js/newfilemenu.js
+
0
−
1
View file @
6994a2a8
...
@@ -210,7 +210,6 @@
...
@@ -210,7 +210,6 @@
uploadLabel
:
t
(
'
files
'
,
'
Upload file
'
),
uploadLabel
:
t
(
'
files
'
,
'
Upload file
'
),
items
:
this
.
_menuItems
items
:
this
.
_menuItems
}));
}));
OC
.
Util
.
scaleFixForIE8
(
this
.
$
(
'
.svg
'
));
// Trigger upload action also with keyboard navigation on enter
// Trigger upload action also with keyboard navigation on enter
this
.
$el
.
find
(
'
[for="file_upload_start"]
'
).
on
(
'
keyup
'
,
function
(
event
)
{
this
.
$el
.
find
(
'
[for="file_upload_start"]
'
).
on
(
'
keyup
'
,
function
(
event
)
{
...
...
This diff is collapsed.
Click to expand it.
core/js/js.js
+
0
−
29
View file @
6994a2a8
/**
* Disable console output unless DEBUG mode is enabled.
* Add
* 'debug' => true,
* To the definition of $CONFIG in config/config.php to enable debug mode.
* The undefined checks fix the broken ie8 console
*/
/* global oc_isadmin */
/* global oc_isadmin */
var
oc_debug
;
var
oc_debug
;
...
@@ -1971,17 +1963,6 @@ OC.Util = {
...
@@ -1971,17 +1963,6 @@ OC.Util = {
return
moment
(
timestamp
).
fromNow
();
return
moment
(
timestamp
).
fromNow
();
},
},
/**
* Fix image scaling for IE8, since background-size is not supported.
*
* This scales the image to the element's actual size, the URL is
* taken from the "background-image" CSS attribute.
*
* @deprecated IE8 isn't supported since 9.0
* @param {Object} $el image element
*/
scaleFixForIE8
:
function
(
$el
)
{},
/**
/**
* Returns whether this is IE
* Returns whether this is IE
*
*
...
@@ -1991,16 +1972,6 @@ OC.Util = {
...
@@ -1991,16 +1972,6 @@ OC.Util = {
return
$
(
'
html
'
).
hasClass
(
'
ie
'
);
return
$
(
'
html
'
).
hasClass
(
'
ie
'
);
},
},
/**
* Returns whether this is IE8
*
* @deprecated IE8 isn't supported since 9.0
* @return {bool} false (IE8 isn't supported anymore)
*/
isIE8
:
function
()
{
return
false
;
},
/**
/**
* Returns the width of a generic browser scrollbar
* Returns the width of a generic browser scrollbar
*
*
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment