pari: branch 2.0 r4280 - /branches/2.0/config/skype.html
SVN commits to the Asterisk-GUI project
asterisk-gui-commits at lists.digium.com
Wed Dec 3 18:59:48 CST 2008
Author: pari
Date: Wed Dec 3 18:59:47 2008
New Revision: 4280
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=4280
Log:
Use appropriate formatting while listing destination
Modified:
branches/2.0/config/skype.html
Modified: branches/2.0/config/skype.html
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/skype.html?view=diff&rev=4280&r1=4279&r2=4280
==============================================================================
--- branches/2.0/config/skype.html (original)
+++ branches/2.0/config/skype.html Wed Dec 3 18:59:47 2008
@@ -65,7 +65,6 @@
var img_name = ( DEFAULT_ACCOUNT == account ) ? 'images/edit.gif' : 'images/checkbox_blank.gif';
var tmp_context = SKYPE_CNF[account].context || '' ;
var dest_line = ( tmp_context && tmp_context.contains(ASTGUI.contexts.skypeIncomingContext) && EXTENSIONS_CNF.hasOwnProperty(tmp_context) ) ? EXTENSIONS_CNF[tmp_context][0] : '' ;
- var dest_args = ASTGUI.parseContextLine.getArgs(dest_line) ;
var tmp = "<span class='guiButton' onclick=\"MANAGE_ACCOUNTS.edit_Account_form('" + account +"')\">Edit</span> "
+ "<span class='guiButtonDelete' onclick=\"MANAGE_ACCOUNTS.deleteAccount('" + account +"')\">Delete</span>" ;
@@ -75,7 +74,7 @@
TBL.addCell({ html: "<A href='#' TITLE='Set this as the default skype account for placing calls through skype network'><img src="
+ img_name + " border=0 onclick=\"set_as_default_account('" + account +"')\"></A>" });
TBL.addCell({ html: account, align: 'left' });
- TBL.addCell({ html: ASTGUI.parseContextLine.toKnownContext(dest_args) , align:'left' });
+ TBL.addCell({ html: ASTGUI.parseContextLine.showAs(dest_line) , align:'left' });
TBL.addCell({ html: tmp, align: 'center' });
}
More information about the asterisk-gui-commits
mailing list