Sigma Php Ajax framework, Ajax Components, GUI Builder
February 11, 2012, 11:30:25 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
Sigma Php Ajax framework, Ajax Components, GUI Builder
>
Sigma Visual GUI Builder & Library
>
Sigma Visual - Q&A
(Moderators:
steven
,
linb
) >
confirm dialog & internationalization
Pages: [
1
]
« previous
next »
Print
Author
Topic: confirm dialog & internationalization (Read 449 times)
gikotim
Sr. Member
Posts: 49
confirm dialog & internationalization
«
on:
February 24, 2010, 04:09:22 AM »
Hi
is there a way to set the caption of the "yes"/"no" buttons in the linb.UI.Dialog.confirm?
Thank you!
Logged
linb
Administrator
Hero Member
Posts: 433
Re: confirm dialog & internationalization
«
Reply #1 on:
February 24, 2010, 04:33:56 PM »
Find "Locale/en.js", and modify "yes", "no" description.
or, give these caption directly:
linb.confirm('title', 'caption', function(){}, function(){}, 'Yes caption', 'No caption');
Logged
gikotim
Sr. Member
Posts: 49
Re: confirm dialog & internationalization
«
Reply #2 on:
February 24, 2010, 10:43:23 PM »
doesn't work for me.
In the API def I see:
Parameters:
* title [Optional] : String, the title string.
* content [Optional] : String, the content string.
* onYes [Optional] : Function, the Yes callback function.
* onNo [Optional] : Function, the No callback function.
* left [Optional] : Number, left value.
* top [Optional] : Number, top value.
and that's what happens.
But changing the Locale-file works.
Thank you for your support.
«
Last Edit: February 24, 2010, 10:50:20 PM by gikotim
»
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News & Announcements
-----------------------------
Sigma Visual GUI Builder & Library
-----------------------------
=> Sigma Visual - Knowledge Share
=> Sigma Visual - Q&A
=> Bug Report & Wishlist
-----------------------------
Sigma Grid
-----------------------------
=> Sigma Grid - Q&A
=> Show Case
=> Bug Report & Wishlist
-----------------------------
Other
-----------------------------
=> AJAX & JavaScript
Loading...