Permalink
Browse files

kleine Änderungen

  • Loading branch information...
1 parent d5af062 commit 5f1f119b8dbc35192d4d854a8f8a977e808c7410 Stephan committed Nov 28, 2012
Showing with 6 additions and 5 deletions.
  1. +2 −4 app/app.js
  2. +1 −1 app/modules/localeEdit/localeEdit.js
  3. +3 −0 app/styles/style.css
View
@@ -55,7 +55,6 @@ function($, _, Backbone) {
if (this.layout && this.layout.options.template === name) {
return this.layout;
}
-
// If a layout already exists, remove it from the DOM.
if (this.layout) {
this.layout.remove();
@@ -69,9 +68,8 @@ function($, _, Backbone) {
});
// Insert into the DOM.
- $('#main').fadeOut('slow',function() {$('#main').empty().append(layout.el)} );
- $('#main').fadeIn();
-
+ $('#main').empty().append(layout.el);
+ $('#main').fadeIn('slow');
// Render the layout.
layout.render();
@@ -98,7 +98,7 @@ function(app, jquery, Views ) {
}).appendTo($fileWrapper);
$btnDelete.html('Löschen');
$btnDelete.click(function(){
- $.ajax({ url: 'http://192.168.2.102:8081/upload/'+value.name
+ $.ajax({ url: '/api/delete/'+value.name
}).success(function(data){
console.log(data);
});
@@ -39,4 +39,7 @@ li.edititem {
.edit-wrapper-inner{
background-color: #ccc;
border: solid 1px #5E5E5E;
+ -webkit-border-radius: 6px;
+ -moz-border-radius: 6px;
+ border-radius: 6px;
}

0 comments on commit 5f1f119

Please sign in to comment.