Load URL from ui_base_path

This commit is contained in:
Brendan Coles
2017-04-23 03:44:16 +00:00
parent 5c406b8d4f
commit cc260598d3

View File

@@ -23,7 +23,7 @@ ZombieTab_XssRaysTab = function(zombie) {
var xssrays_logs_store = new Ext.ux.data.PagingJsonStore({ var xssrays_logs_store = new Ext.ux.data.PagingJsonStore({
storeId: 'xssrays-logs-store-zombie-' + zombie.session, storeId: 'xssrays-logs-store-zombie-' + zombie.session,
url: '/<%= @base_path %>/xssrays/zombie.json', url: '<%= @base_path %>/xssrays/zombie.json',
remoteSort: false, remoteSort: false,
autoDestroy: true, autoDestroy: true,
autoLoad: false, autoLoad: false,
@@ -160,4 +160,4 @@ ZombieTab_XssRaysTab = function(zombie) {
}); });
}; };
Ext.extend(ZombieTab_XssRaysTab, Ext.TabPanel, {} ); Ext.extend(ZombieTab_XssRaysTab, Ext.TabPanel, {} );