This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
({ | |
/* File: ./custom/modules/Accounts/clients/base/views/preview/preview.js */ | |
extendsFrom: 'PreviewView', | |
_renderPreview: function(model, collection, fetch, previewId){ | |
var self = this; | |
// If there are drawers there could be multiple previews, make sure we are only rendering preview for active drawer | |
if(app.drawer && !app.drawer.isActive(this.$el)){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
({ | |
/* | |
File: ./custom/modules/<Module>/clients/base/views/record/record.js | |
Requires metadata for other view: ./custom/modules/<Module>/clients/base/views/<view>/<view>.php | |
*/ | |
extendsFrom: 'RecordView', | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Project: SugarCRM Logic Expression for checking User role | |
* Original Dev: Antonio Musarra, January 2014 | |
* @2009-2014 Antonio Musarra <antonio.musarra[at]gmail.com> | |
* | |
* Desc: SugarCRM Logic Expression ext class | |
* | |
* This program is free software: you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@WebServlet(value = "/*", asyncSupported = true) | |
@VaadinServletConfiguration(productionMode = false, ui = MyVaadinUI.class) | |
public static class MyCORSServlet extends VaadinServlet { | |
/** | |
* Override to handle the CORS requests. | |
*/ | |
@Override | |
protected void service(HttpServletRequest request, | |
HttpServletResponse response) throws ServletException, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/php | |
<?php | |
/* | |
* Copyright 2013 | |
* Jeff Bickart | |
* @bickart | |
* jeff @ neposystems.com | |
*/ |