summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/comments/js/commentstabview.js2
-rw-r--r--build/license.php2
-rw-r--r--core/js/js.js34
3 files changed, 11 insertions, 27 deletions
diff --git a/apps/comments/js/commentstabview.js b/apps/comments/js/commentstabview.js
index 565f6a99296..9451e828f91 100644
--- a/apps/comments/js/commentstabview.js
+++ b/apps/comments/js/commentstabview.js
@@ -32,7 +32,7 @@
'{{/if}}' +
' </div>' +
' <form class="newCommentForm">' +
- ' <input type="text" class="message" placeholder="{{newMessagePlaceholder}}" value="{{{message}}}"" />' +
+ ' <input type="text" class="message" placeholder="{{newMessagePlaceholder}}" value="{{{message}}}" />' +
' <input class="submit icon-confirm" type="submit" value="" />' +
'{{#if isEditMode}}' +
' <input class="cancel pull-right" type="button" value="{{cancelText}}" />' +
diff --git a/build/license.php b/build/license.php
index 5ada91a0f33..3f1fe41764a 100644
--- a/build/license.php
+++ b/build/license.php
@@ -189,7 +189,7 @@ With help from many libraries and frameworks including:
while(!empty($lines)) {
$line = $lines[0];
array_shift($lines);
- if (strpos($line, 'ownCloud, Inc') !== false) {
+ if (strpos($line, 'ownCloud, Inc') !== false || strpos($line, 'ownCloud GmbH') !== false) {
return true;
}
}
diff --git a/core/js/js.js b/core/js/js.js
index ea621123fb0..4e8d3a01416 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -1501,21 +1501,17 @@ function initCore() {
$navigation.hide();
// show loading feedback
- $navigation.delegate('a', 'mousedown', function(event) {
+ $navigation.delegate('a', 'click', function(event) {
var $app = $(event.target);
if(!$app.is('a')) {
$app = $app.closest('a');
}
- if(event.which === 1 && !event.ctrlKey && !event.metaKey) {
+ if(!event.ctrlKey) {
$app.addClass('app-loading');
} else {
- // On middle click or on first button click with ctrl key or meta key hold
- if(event.which === 2 || (event.which === 1 && (event.ctrlKey || event.metaKey))) {
- // Close navigation when opening app in
- // a new tab
- OC.hideMenus();
- window.open($app, '_blank');
- }
+ // Close navigation when opening app in
+ // a new tab
+ OC.hideMenus();
}
});
}
@@ -1523,26 +1519,14 @@ function initCore() {
function setupUserMenu() {
var $menu = $('#header #settings');
- // show loading feedback
- $menu.delegate('a', 'mousedown', function(event) {
+ $menu.delegate('a', 'click', function(event) {
var $page = $(event.target);
if (!$page.is('a')) {
$page = $page.closest('a');
}
- if(event.which === 1 && !event.ctrlKey && !event.metaKey) {
- $page.find('img').remove();
- $page.find('div').remove(); // prevent odd double-clicks
- $page.prepend($('<div/>').addClass('icon-loading-small-dark'));
- } else {
- // On middle click or on first button click with ctrl key or meta key hold
- if(event.which === 2 || (event.which === 1 && (event.ctrlKey || event.metaKey))) {
- // Close navigation when opening menu entry in
- // a new tab
- OC.hideMenus();
- window.open($page, '_blank');
- }
- }
- $($page).click();
+ $page.find('img').remove();
+ $page.find('div').remove(); // prevent odd double-clicks
+ $page.prepend($('<div/>').addClass('icon-loading-small-dark'));
});
}