hello all,
i wanted to know which javascript method should i call after i save the PROFILE in ERPNEXT.
Thanks and Regards
–
Note:
If you are posting an issue,
- We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
- Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
- For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/44e9a440-ca05-4774-bdbd-59ad885b9845%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hello, Syed!
You can say what you trying to do? Your question is somewhat generic.
--
Best Regards.
Maxwell Morais
Python Developer powered by Webnotes framework <3
–
Note:
If you are posting an issue,
- We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
- Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
- For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CABK1YkPZGx6vDir0bc8Ci2cn4sTp_ANOdWAVOYDGnTF6RuXJOA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
when i save the profile, i want to reload the page , thats all i want to do .. so i was looking for a javascript function in the profile.js called " Save" but i couldnt find any .. so that when the profile form is saved
i can refresh the page.. or maybe i can redirect the user ...
On Thursday, 20 March 2014 09:52:51 UTC+3, Syed Qadeer wrote:
hello all,
i wanted to know which javascript method should i call after i save the PROFILE in ERPNEXT.
Thanks and Regards
–
Note:
If you are posting an issue,
- We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
- Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
- For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/40b4a0a4-8a08-41cd-b301-22fae1a8064d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
It is the method
https://github.com/webnotes/wnframework/blob/develop/public/js/legacy/form.js#L633
Mas ele não faz parte do ScriptManager, você provavelmente vai ter que controlar manualmente a reescrita deste método, salvando o método original em uma variável e garantindo que ele seja executado posteriormente:
__save = cur_frm.save
cur_frm.save = function(save_action, callback, btn, on_error){
__save(save_action, callback, btn, on_error);
// You custom code
}
2014-03-20 5:27 GMT-03:00 Syed Qadeer
<sd...@gmail.com>:
when i save the profile, i want to reload the page , thats all i want to do .. so i was looking for a javascript function in the profile.js called " Save" but i couldnt find any .. so that when the profile form is saved
i can refresh the page… or maybe i can redirect the user …
On Thursday, 20 March 2014 09:52:51 UTC+3, Syed Qadeer wrote:
hello all,
i wanted to know which javascript method should i call after i save the PROFILE in ERPNEXT.
Thanks and Regards
–
Note:
If you are posting an issue,
- We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
- Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
- For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/40b4a0a4-8a08-41cd-b301-22fae1a8064d%40googlegroups.com.
--
Best Regards.
Maxwell Morais
Python Developer powered by Webnotes framework <3
–
Note:
If you are posting an issue,
- We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
- Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
- For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CABK1YkPafDpY1YEDAFnaiqzpiFwu85sce_ioZOH%3DXF_8-%2BZFWA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Sorry, for the response in portuguese
“But it is not part of the ScriptManager, you’ll probably have to manually control the rewriting of this method, saving the original method in a variable and ensuring it runs later: “
2014-03-20 5:37 GMT-03:00 Maxwell Morais
<ma...@gmail.com>:
It is the method
https://github.com/webnotes/wnframework/blob/develop/public/js/legacy/form.js#L633
Mas ele não faz parte do ScriptManager, você provavelmente vai ter que controlar manualmente a reescrita deste método, salvando o método original em uma variável e garantindo que ele seja executado posteriormente:
__save = cur_frm.save
cur_frm.save = function(save_action, callback, btn, on_error){
__save(save_action, callback, btn, on_error);
// You custom code
}
2014-03-20 5:27 GMT-03:00 Syed Qadeer
<sd...@gmail.com>:
when i save the profile, i want to reload the page , thats all i want to do .. so i was looking for a javascript function in the profile.js called " Save" but i couldnt find any .. so that when the profile form is saved
i can refresh the page… or maybe i can redirect the user …
On Thursday, 20 March 2014 09:52:51 UTC+3, Syed Qadeer wrote:
hello all,
i wanted to know which javascript method should i call after i save the PROFILE in ERPNEXT.
Thanks and Regards
–
Note:
If you are posting an issue,
- We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
- Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
- For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/40b4a0a4-8a08-41cd-b301-22fae1a8064d%40googlegroups.com.
--
Best Regards.
Maxwell Morais
Python Developer powered by Webnotes framework <3
--
Best Regards.
Maxwell Morais
Python Developer powered by Webnotes framework <3
–
Note:
If you are posting an issue,
- We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
- Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
- For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CABK1YkOJfoX%2Bdk8n0VBMe98Dn_DgciMuKepSvLOvGNRotZRzHg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
is there any possible way, that we can know that a specific field is changed or not ??
On Thursday, 20 March 2014 11:40:36 UTC+3, Maxwell wrote:
Sorry, for the response in portuguese
“But it is not part of the ScriptManager, you’ll probably have to manually control the rewriting of this method, saving the original method in a variable and ensuring it runs later: “
2014-03-20 5:37 GMT-03:00 Maxwell Morais
<ma...@gmail.com>:
It is the method
https://github.com/webnotes/wnframework/blob/develop/public/js/legacy/form.js#L633
Mas ele não faz parte do ScriptManager, você provavelmente vai ter que controlar manualmente a reescrita deste método, salvando o método original em uma variável e garantindo que ele seja executado posteriormente:
__save = cur_frm.save
cur_frm.save = function(save_action, callback, btn, on_error){
__save(save_action, callback, btn, on_error);
// You custom code
}
2014-03-20 5:27 GMT-03:00 Syed Qadeer
<sd...@gmail.com>:
when i save the profile, i want to reload the page , thats all i want to do .. so i was looking for a javascript function in the profile.js called " Save" but i couldnt find any .. so that when the profile form is saved
i can refresh the page… or maybe i can redirect the user …
On Thursday, 20 March 2014 09:52:51 UTC+3, Syed Qadeer wrote:
hello all,
i wanted to know which javascript method should i call after i save the PROFILE in ERPNEXT.
Thanks and Regards
–
Note:
If you are posting an issue,
- We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
- Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
- For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/40b4a0a4-8a08-41cd-b301-22fae1a8064d%40googlegroups.com.
--
Best Regards.
Maxwell Morais
Python Developer powered by Webnotes framework <3
--
Best Regards.
Maxwell Morais
Python Developer powered by Webnotes framework <3
–
Note:
If you are posting an issue,
- We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
- Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
- For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/c4712656-44ca-4063-91d9-655adc5ceda3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
2014-03-20 5:47 GMT-03:00 Syed Qadeer
<sd...@gmail.com>:
is there any possible way, that we can know that a specific field is changed or not ??
On Thursday, 20 March 2014 11:40:36 UTC+3, Maxwell wrote:
Sorry, for the response in portuguese
“But it is not part of the ScriptManager, you’ll probably have to manually control the rewriting of this method, saving the original method in a variable and ensuring it runs later: “
2014-03-20 5:37 GMT-03:00 Maxwell Morais
<ma...@gmail.com>:
It is the method
https://github.com/webnotes/wnframework/blob/develop/public/js/legacy/form.js#L633
Mas ele não faz parte do ScriptManager, você provavelmente vai ter que controlar manualmente a reescrita deste método, salvando o método original em uma variável e garantindo que ele seja executado posteriormente:
__save = cur_frm.save
cur_frm.save = function(save_action, callback, btn, on_error){
__save(save_action, callback, btn, on_error);
// You custom code
}
2014-03-20 5:27 GMT-03:00 Syed Qadeer
<sd...@gmail.com>:
when i save the profile, i want to reload the page , thats all i want to do .. so i was looking for a javascript function in the profile.js called " Save" but i couldnt find any .. so that when the profile form is saved
i can refresh the page… or maybe i can redirect the user …
On Thursday, 20 March 2014 09:52:51 UTC+3, Syed Qadeer wrote:
hello all,
i wanted to know which javascript method should i call after i save the PROFILE in ERPNEXT.
Thanks and Regards
–
Note:
If you are posting an issue,
- We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
- Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
- For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/40b4a0a4-8a08-41cd-b301-22fae1a8064d%40googlegroups.com.
--
Best Regards.
Maxwell Morais
Python Developer powered by Webnotes framework <3
--
Best Regards.
Maxwell Morais
Python Developer powered by Webnotes framework <3
–
Note:
If you are posting an issue,
- We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
- Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
- For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/c4712656-44ca-4063-91d9-655adc5ceda3%40googlegroups.com.
--
Best Regards.
Maxwell Morais
Python Developer powered by Webnotes framework <3
–
Note:
If you are posting an issue,
- We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
- Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
- For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CABK1YkNtZEgVgr%2Bh5Jcd4uMYRC784OVCX_Us5L609nw1mX-Xmg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.