Merge branch 'stable4' of git://gitorious.org/owncloud/owncloud into stable4
This commit is contained in:
commit
b6ee4c458b
3 changed files with 5 additions and 6 deletions
|
@ -84,7 +84,6 @@
|
|||
}
|
||||
|
||||
title = selectedOpts.title || (obj.nodeName ? $(obj).attr('title') : obj.title) || '';
|
||||
title = title.replace(/</, "<").replace(/>/, ">");
|
||||
|
||||
if (obj.nodeName && !selectedOpts.orig) {
|
||||
selectedOpts.orig = $(obj).children("img:first").length ? $(obj).children("img:first") : $(obj);
|
||||
|
@ -94,6 +93,8 @@
|
|||
title = selectedOpts.orig.attr('alt');
|
||||
}
|
||||
|
||||
title = title.replace(/</, "<").replace(/>/, ">");
|
||||
|
||||
href = selectedOpts.href || (obj.nodeName ? $(obj).attr('href') : obj.href) || null;
|
||||
|
||||
if ((/^(?:javascript)/i).test(href) || href == '#') {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -101,10 +101,8 @@ for($i = 0; $i < count($images); $i++) {
|
|||
|
||||
$dir_arr = explode('/', $previous_element);
|
||||
|
||||
if (count($images)>1) {
|
||||
if (count($dir_arr)==0) {
|
||||
$tl->addTile(new \OC\Pictures\TileSingle($previous_element));
|
||||
} else if (count($dir_arr) && $ts->getCount() == 0){
|
||||
if (count($images)>1 && count($dir_arr) > 1) {
|
||||
if (count($dir_arr) && $ts->getCount() == 0){
|
||||
$ts = new \OC\Pictures\TileStack(array($root.$previous_element), $dir_arr[0]);
|
||||
} else {
|
||||
$arr[] = $previous_element;
|
||||
|
|
Loading…
Reference in a new issue