Переглянути джерело

Since the server no longer calculates the icon

The server no longer calculates the icon. So we have the js side do it
for us.
tags/v9.0beta1
Roeland Jago Douma 8 роки тому
джерело
коміт
9be43e10af
1 змінених файлів з 1 додано та 0 видалено
  1. 1
    0
      core/js/oc-dialogs.js

+ 1
- 0
core/js/oc-dialogs.js Переглянути файл

@@ -753,6 +753,7 @@ var OCdialogs = {
var sorted = dirs.concat(others);

$.each(sorted, function(idx, entry) {
entry.icon = OC.MimeType.getIconUrl(entry.mimetype);
var $li = self.$listTmpl.octemplate({
type: entry.type,
dir: dir,

Завантаження…
Відмінити
Зберегти