forked from 0x2620/pandora
links
This commit is contained in:
parent
2f92d5d2aa
commit
41d5f886c7
4 changed files with 7 additions and 5 deletions
|
@ -529,7 +529,7 @@
|
||||||
"clipsColumns": 2,
|
"clipsColumns": 2,
|
||||||
"columns": {
|
"columns": {
|
||||||
"Colors": {
|
"Colors": {
|
||||||
"columns": ["title", "director", "location", "source", "hue", "saturation", "brightness"],
|
"columns": ["title", "source", "project", "language", "hue", "saturation", "brightness"],
|
||||||
"columnWidth": {}
|
"columnWidth": {}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -549,7 +549,7 @@
|
||||||
"itemFind": {"conditions": [], "operator": "&"},
|
"itemFind": {"conditions": [], "operator": "&"},
|
||||||
"itemSort": [{"key": "position", "operator": "+"}],
|
"itemSort": [{"key": "position", "operator": "+"}],
|
||||||
"itemView": "info",
|
"itemView": "info",
|
||||||
"listColumns": ["title", "director", "location", "source", "language", "duration"],
|
"listColumns": ["title", "source", "project", "director", "language", "duration"],
|
||||||
"listColumnWidth": {},
|
"listColumnWidth": {},
|
||||||
"listSelection": [],
|
"listSelection": [],
|
||||||
"listSort": [{"key": "title", "operator": "+"}],
|
"listSort": [{"key": "title", "operator": "+"}],
|
||||||
|
|
|
@ -132,7 +132,7 @@ pandora.ui.infoView = function(data) {
|
||||||
|
|
||||||
$browserImages = [];
|
$browserImages = [];
|
||||||
|
|
||||||
pandora.createLinks($text);
|
//pandora.createLinks($text);
|
||||||
|
|
||||||
// Title -------------------------------------------------------------------
|
// Title -------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
|
@ -126,6 +126,7 @@ pandora.ui.item = function() {
|
||||||
annotationsSize: pandora.user.ui.annotationsSize,
|
annotationsSize: pandora.user.ui.annotationsSize,
|
||||||
annotationsSort: pandora.user.ui.annotationsSort,
|
annotationsSort: pandora.user.ui.annotationsSort,
|
||||||
censored: videoOptions.censored,
|
censored: videoOptions.censored,
|
||||||
|
clickLink: pandora.clickLink,
|
||||||
cuts: result.data.cuts || [],
|
cuts: result.data.cuts || [],
|
||||||
duration: result.data.duration,
|
duration: result.data.duration,
|
||||||
enableSubtitles: pandora.user.ui.videoSubtitles,
|
enableSubtitles: pandora.user.ui.videoSubtitles,
|
||||||
|
@ -225,6 +226,7 @@ pandora.ui.item = function() {
|
||||||
annotationsSize: pandora.user.ui.annotationsSize,
|
annotationsSize: pandora.user.ui.annotationsSize,
|
||||||
annotationsSort: pandora.user.ui.annotationsSort,
|
annotationsSort: pandora.user.ui.annotationsSort,
|
||||||
censored: videoOptions.censored,
|
censored: videoOptions.censored,
|
||||||
|
clickLink: pandora.clickLink,
|
||||||
cuts: result.data.cuts || [],
|
cuts: result.data.cuts || [],
|
||||||
duration: result.data.duration,
|
duration: result.data.duration,
|
||||||
enableSubtitles: pandora.user.ui.videoSubtitles,
|
enableSubtitles: pandora.user.ui.videoSubtitles,
|
||||||
|
|
|
@ -177,7 +177,7 @@ pandora.clickLink = function(e) {
|
||||||
if (e.target.hostname == document.location.hostname) {
|
if (e.target.hostname == document.location.hostname) {
|
||||||
pandora.URL.push(e.target.pathname);
|
pandora.URL.push(e.target.pathname);
|
||||||
} else {
|
} else {
|
||||||
document.location.href = '/url=' + encodeURIComponent(e.target.href);
|
window.open('/url=' + encodeURIComponent(e.target.href), '_blank');
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue