SugarCRM- How to get POPUP when click on Save button?
问题 I want when click Save in Edit View of some module (example Contact) to get pop up with some message (later I will get options OK and Cancel on that pop up.). My function YAHOO.SUGAR.MessageBox.show({msg: 'Foo'} ); is working when I put it at top of editviewdefs.php (I also must include cache/include/javascript/sugar_grp_yui_widgets.js ) ) file and when opening that view I am getting that pop up. But I want it to popup on Save,not when opening EditView (this was just testing that showed me