Move to sane directory structure. Don't make 'cms' the top level of the silverstripe...
[silverstripe-elijah.git] / silverstripe-gsoc / cms / javascript / BulkLoaderAdmin.js
blobc8e75178fe06a0aef65e4e103c7752982640126c
1 /**
2  * Configuration for the left hand tree
3  */
4 if(typeof SiteTreeHandlers == 'undefined') SiteTreeHandlers = {};
5 SiteTreeHandlers.loadPage_url = 'admin/bulkload/getitem';
6 SiteTreeHandlers.showRecord_url = 'admin/bulkload/show/';;
8 Behaviour.register({
9         '#Form_EditForm' : {
10                 getPageFromServer: function (className) {
11                         $('BulkLoaderIframe').src = 'admin/bulkload/iframe/' + className;
12                 }       
13         }
14         
15 });