|
|
@ -549,7 +549,7 @@ var MovieList = new Class({ |
|
|
|
var self = this; |
|
|
|
if (!self.navigation_counter) return; |
|
|
|
self.counter_count = count; |
|
|
|
self.navigation_counter.set("text", (count || 0) + " movies"); |
|
|
|
self.navigation_counter.set("text", count === 1 ? "1 movie" : (count || 0) + " movies"); |
|
|
|
if (self.empty_message) { |
|
|
|
self.empty_message.destroy(); |
|
|
|
self.empty_message = null; |
|
|
@ -1938,10 +1938,11 @@ var Movie = new Class({ |
|
|
|
var self = this; |
|
|
|
if (e.target.getParents(".actions").length == 0 && e.target != self.select_checkbox) { |
|
|
|
e.stopPropagation(); |
|
|
|
self.addActions(); |
|
|
|
self.openDetails(); |
|
|
|
} |
|
|
|
}, |
|
|
|
onMouseenter: function() { |
|
|
|
addActions: function() { |
|
|
|
var self = this; |
|
|
|
if (self.actions.length <= 0) { |
|
|
|
self.options.actions.each(function(a) { |
|
|
@ -1953,7 +1954,11 @@ var Movie = new Class({ |
|
|
|
self.actions.push(action); |
|
|
|
}); |
|
|
|
} |
|
|
|
}, |
|
|
|
onMouseenter: function() { |
|
|
|
var self = this; |
|
|
|
if (App.mobile_screen) return; |
|
|
|
self.addActions(); |
|
|
|
if (self.list.current_view == "thumb") { |
|
|
|
dynamics.css(self.el, { |
|
|
|
scale: 1, |
|
|
|