MINOR update formfield when the subsite is changed (from r91016)

This commit is contained in:
Tom Rix 2010-03-01 21:40:48 +00:00
parent 0c16ad9e44
commit 813087e9fd

View File

@ -1,6 +1,7 @@
Behaviour.register({
'#SubsiteActions select' : {
onchange: function() {
$('Form_AddPageOptionsForm_SubsiteID').value = this.value;
var request = new Ajax.Request(SiteTreeHandlers.controller_url + '/changesubsite?SubsiteID=' + this.value + '&ajax=1', {
onSuccess: function(response) {
if ($('sitetree')) {