summaryrefslogtreecommitdiff
path: root/gstudio
diff options
context:
space:
mode:
Diffstat (limited to 'gstudio')
-rw-r--r--gstudio/static/gstudio/js/gstudio.js2
-rw-r--r--gstudio/templates/gstudiodashboard/dashboard.html1
2 files changed, 1 insertions, 2 deletions
diff --git a/gstudio/static/gstudio/js/gstudio.js b/gstudio/static/gstudio/js/gstudio.js
index bb5c8799..d8d9d608 100644
--- a/gstudio/static/gstudio/js/gstudio.js
+++ b/gstudio/static/gstudio/js/gstudio.js
@@ -47,7 +47,7 @@ $ = django.jQuery
$("#id_attributetype").change(function() {
test = $("#id_attributetype").val()
- url = "/gstudio/ajax/?id=" + test
+ url = "/nodetypes/ajax/?id=" + test
$.get(url,
function(data){
diff --git a/gstudio/templates/gstudiodashboard/dashboard.html b/gstudio/templates/gstudiodashboard/dashboard.html
index 43ea1edd..048a4fdf 100644
--- a/gstudio/templates/gstudiodashboard/dashboard.html
+++ b/gstudio/templates/gstudiodashboard/dashboard.html
@@ -7,7 +7,6 @@
<h2>Gstudio</h2>
<ul>
<li><a href="{{get_absoulute_url}}/nodetypes/add/metatype">{% trans 'Add Metatype' %}</a></li>
- <li><a href="{{get_absoulute_url}}/nodetypes/add/metatype">{% trans 'Add Metatype' %}</a></li>
<li><a href="{{get_absoulute_url}}/nodetypes/add/objecttype">{% trans 'Add Object type' %}</a></li>
<li><a href="{{get_absoulute_url}}/nodetypes/add/relationtype">{% trans 'Add Relation type' %}</a></li>
<li><a href="{{get_absoulute_url}}/nodetypes/add/attributetype">{% trans 'Add Attribute Type' %}</a></li>