alloy
Version:
TiDev Titanium MVC Framework
12 lines (10 loc) • 298 B
JavaScript
const tabgroup = require('@/tabgroup');
function doClick (e) {
if (e.section === $.settingsSection) {
const title = e.row.name;
const window = Alloy.createController('/profile/emptyWindow', { title }).getView();
tabgroup.openWindow(window);
} else {
console.log('Logout pressed.');
}
}