Commit 4e86cdb9 authored by Henning Leutz's avatar Henning Leutz 🥋

fix: #788

parent 59a18b08
......@@ -95,11 +95,11 @@ define('controls/projects/project/media/Popup', [
width : '100%'
},
html : '<div style="margin-bottom: 20px;">' +
QUILocale.get(
'quiqqer/system',
'projects.project.site.media.popup.noProject.text'
) +
'</div>'
QUILocale.get(
'quiqqer/system',
'projects.project.site.media.popup.noProject.text'
) +
'</div>'
}).inject(Content);
new ProjectSelect({
......@@ -331,8 +331,14 @@ define('controls/projects/project/media/Popup', [
* @param {Function} callback
*/
$getDetails: function (imageData, callback) {
var project = this.getAttribute('project');
if (this.$Panel) {
project = this.$Panel.getMedia().getProject().getName();
}
Ajax.get('ajax_media_details', callback, {
project: this.getAttribute('project'),
project: project,
fileid : imageData.id
});
}
......
......@@ -2,7 +2,7 @@
"name": "quiqqer/quiqqer",
"type": "quiqqer-system",
"description": "A modular based management system written in JavaScript and PHP",
"version": "1.2.6",
"version": "1.2.7",
"license": "GPL-3.0+",
"authors": [
{
......
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