Browse Source

remove cruft not necessary anymore with the new pk option stuff

Natenom/support-murmur-13-1446181288462
Michael Ziegler 15 years ago
parent
commit
db103328e7
  1. 22
      pyweb/mumble/templates/mumble/mumble.html

22
pyweb/mumble/templates/mumble/mumble.html

@ -23,19 +23,6 @@
Ext.onReady( function(){
Ext.QuickTips.init();
var userform = new Ext.ux.MumbleUserForm({
title: gettext("Registration"),
pk: {{ MumbleAccount.id }},
submit: function(){
this.getForm().submit({ params: {serverid: {{MumbleServer.id}}, pk: this.pk } });
},
});
var adminform = new Ext.ux.MumbleForm({
title: gettext("Administration"),
pk: {{ MumbleServer.id }},
});
var mainpanel = new Ext.Panel({
renderTo: "ext_container",
height: 600,
@ -50,10 +37,14 @@
xtype: "tabpanel",
region: "center",
activeTab: 0,
items: [/*{
items: [{
title: gettext("Registration"),
xtype: "{{ RegForm|lower }}",
}*/ userform, {
pk: {{ MumbleAccount.id }},
submit: function(){
this.getForm().submit({ params: {serverid: {{MumbleServer.id}}, pk: this.pk } });
},
}, {
title: gettext("Administration"),
pk: {{ MumbleServer.id }},
xtype: 'mumbleform',
@ -95,7 +86,6 @@
} ],
}],
});
adminform.getForm().load({ params: {pk: {{ MumbleServer.id }} } });
} );
</script>
{% endblock %}
Loading…
Cancel
Save