blak3r / yaai

SugarCRM Asterisk integration
http://www.sugarforge.org/projects/yaai
GNU General Public License v3.0
84 stars 85 forks source link

Popup in new window #186

Open jersonjunior opened 10 years ago

jersonjunior commented 10 years ago

I would like open in a new window the result of: return $sugar_config['site_url'] . "/index.php?module=$moduleName&action=EditView&record={$id}";

See the code of Web link: **

blak3r commented 10 years ago

Good luck. Your gonna run into issues if the user has multiple tabs with yaai open. Not sure how you'd prevent all tabs from opening it.

Sent via mobile

On Apr 26, 2014, at 6:19 AM, jersonjunior notifications@github.com wrote:

I would like open in a new window the result of: return $sugar_config['site_url'] . "/index.php?module=$moduleName&action=EditView&record={$id}";

See the code of Web link: **

Creates a web link to this record @param $moduleName @param $id @return string */ function build_link($moduleName, $id) { global $sugar_config; if( !empty($moduleName) && !empty($id) ) { $moduleName = ucfirst($moduleName); return $sugar_config['site_url'] . "/index.php?module=$moduleName&action=EditView&record={$id}"; } return null; } — Reply to this email directly or view it on GitHub.