fixes to taxes and charges master and naming_series

This commit is contained in:
Rushabh Mehta
2012-07-12 16:01:20 +05:30
parent 5faf37f312
commit 4feae61b62
23 changed files with 387 additions and 371 deletions

View File

@@ -495,7 +495,7 @@ document.body.appendChild(temp);temp.submit();return temp;}
var msg_dialog;function msgprint(msg,title){if(!msg)return;if(typeof(msg)!='string')
msg=JSON.stringify(msg);if(msg.substr(0,8)=='__small:'){show_alert(msg.substr(8));return;}
if(!msg_dialog){msg_dialog=new wn.ui.Dialog({title:"Message",onhide:function(){msg_dialog.msg_area.empty();}});msg_dialog.msg_area=$('<div class="msgprint">').appendTo(msg_dialog.body);}
if(msg.search(/<br>|<p>/)==-1)
if(msg.search(/<br>|<p>|<li>/)==-1)
msg=replace_newlines(msg);msg_dialog.set_title(title||'Message')
msg_dialog.msg_area.append(msg);msg_dialog.show();}
var growl_area;function show_alert(txt,id){if(!growl_area){if(!$('#dialog-container').length){$('<div id="dialog-container">').appendTo('body');}