yaai icon indicating copy to clipboard operation
yaai copied to clipboard

Popup in new window

Open jersonjunior opened this issue 10 years ago • 1 comments

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; }

jersonjunior avatar Apr 26 '14 13:04 jersonjunior

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 [email protected] 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.

blak3r avatar Apr 27 '14 05:04 blak3r