typos
This commit is contained in:
parent
7e9cc878dd
commit
e56ac00a84
2 changed files with 2 additions and 2 deletions
|
@ -350,7 +350,7 @@ def moveMedia(request):
|
||||||
if Item.objects.filter(itemId=data['item']).count() == 1:
|
if Item.objects.filter(itemId=data['item']).count() == 1:
|
||||||
i = Item.objects.get(itemId=data['item'])
|
i = Item.objects.get(itemId=data['item'])
|
||||||
else:
|
else:
|
||||||
data['itemId'] = data['item'].pop().strip()
|
data['itemId'] = data.pop('item').strip()
|
||||||
if len(data['itemId']) != 7:
|
if len(data['itemId']) != 7:
|
||||||
del data['itemId']
|
del data['itemId']
|
||||||
if 'director' in data and isinstance(data['director'], basestring):
|
if 'director' in data and isinstance(data['director'], basestring):
|
||||||
|
|
|
@ -486,7 +486,7 @@ pandora.ui.mediaView = function(options, self) {
|
||||||
pandora.api.moveMedia(data, function(result) {
|
pandora.api.moveMedia(data, function(result) {
|
||||||
if (
|
if (
|
||||||
pandora.user.ui.item == self.options.id
|
pandora.user.ui.item == self.options.id
|
||||||
&& pandora.user.ui.itemView == 'files'
|
&& pandora.user.ui.itemView == 'media'
|
||||||
) {
|
) {
|
||||||
Ox.Request.clearCache(); // fixme: remove
|
Ox.Request.clearCache(); // fixme: remove
|
||||||
if (self.$switch.value()) {
|
if (self.$switch.value()) {
|
||||||
|
|
Loading…
Reference in a new issue