Mercurial > lada > lada-client
comparison app/controller/Proben.js @ 376:90cec3bb9c09
Updated URL for import service.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Fri, 23 Aug 2013 12:57:05 +0200 |
parents | 6a7a9267e00f |
children | 0fa48c66cf7d |
comparison
equal
deleted
inserted
replaced
370:1179b3a1251b | 376:90cec3bb9c09 |
---|---|
68 uploadItem: function(button) { | 68 uploadItem: function(button) { |
69 var win = button.up('window'); | 69 var win = button.up('window'); |
70 var form = win.down('form'); | 70 var form = win.down('form'); |
71 if(form.isValid()){ | 71 if(form.isValid()){ |
72 form.submit({ | 72 form.submit({ |
73 url: 'server/rest/proben/import', | 73 url: 'server/rest/import/laf', |
74 waitMsg: 'Importiere...', | 74 waitMsg: 'Importiere...', |
75 // TODO: Handle the response correct. o must must contain the | 75 // TODO: Handle the response correct. o must must contain the |
76 // filename (None) <2013-08-13 16:17> | 76 // filename (None) <2013-08-13 16:17> |
77 success: function(fp, resp) { | 77 success: function(fp, resp) { |
78 Ext.Msg.alert('Erfolg! ', 'Die Datei"' + resp.result.file + '" wurde erfolgreich importiert.'); | 78 Ext.Msg.alert('Erfolg! ', 'Die Datei"' + resp.result.file + '" wurde erfolgreich importiert.'); |