33 Commits

Author SHA1 Message Date
e5979577b3 1631|fix(dialogs): change alert dialog context
closes #1631
2016-02-24 14:28:56 +02:00
fbc612610f Snapshot refactorings, which mainly wraps Android extends within inner functions so that they are evaluated at runtime, when needed. Also some refactoring preventing circular requires. 2016-01-20 10:22:08 +02:00
82c86ad865 Merge pull request #1174 from NativeScript/alert-fixes
alert fixed
2015-11-27 16:39:30 +02:00
c3d3326cb2 alert fixed 2015-11-27 14:56:11 +02:00
00cfb61351 Fix the comments that the ts compiler left 2015-11-27 16:24:11 +02:00
77f3008c5c Fix the final === 0 removal. 2015-11-16 14:19:54 -06:00
bc7fd76498 Eliminte that 0 check on this; as this should only be a boolean value. 2015-11-12 16:56:10 -06:00
1ea6e5897e This will now allow the dialog to call the resolve function when canceled by clicking outside of the dialog. 2015-11-10 21:34:31 -06:00
aa34d4a0b4 TextField, Label and Button CSS type selectors will affect dialogs as well 2015-11-04 16:24:05 +02:00
7517afd80b Message will be set only if you do not have actions since message and actions are mutually exclusive. 2015-09-30 14:42:25 +03:00
77838ae9c6 Change from "classic" TS 1.6 imports to the default resolution scheme.
- Use relative imports in place of most of our absolute ones.
- Add "private" ambient modules for modules that we need to import using
an absolute path (e.g. when app/.../test-something.ts needs to import
ui/styling/style-scope)
2015-09-29 16:25:49 +03:00
5b883c4c6e startActivity used if no foregroundActivity 2015-09-14 10:24:25 +03:00
79cce6dd91 added title option for dialog.action 2015-09-05 11:05:30 +03:00
1439313e7b Make moduleMerge a global function - this saves a total of 83 requires upon application loading. 2015-07-27 13:04:48 +03:00
cc829e0152 definitions fixed 2015-03-03 10:34:40 +02:00
4028cf4881 dialog close callback implement for Dialog class 2014-06-12 10:35:51 +03:00
e7fd4e73fe Dialog class refactored 2014-06-10 17:20:58 +03:00
14ceb15156 message property added to the Dailog class 2014-06-10 15:12:06 +03:00
64bcf0381f more android dialogs refactoring 2014-06-10 15:02:51 +03:00
bf25b4d05e login dialog for android minor refactoring 2014-06-10 14:37:44 +03:00
739fa934f3 login dialog implemented for android 2014-06-10 09:57:16 +03:00
f577816d1e InputType.Password enabled for prompt dialog 2014-06-09 17:13:00 +03:00
81177e1829 DialogButtonOptions changed to DialogButtonsOptions 2014-06-09 14:28:15 +03:00
63768427ba alert. confirm and prompt options combined. defaultText now part of the confirm method signature 2014-06-09 14:24:10 +03:00
b4e7a8f08e dialogs refactored 2014-06-09 12:05:31 +03:00
9066166515 dialogs improved with neutral button and ConfirmResult for confirm and prompt dialogs 2014-06-06 15:50:41 +03:00
14dd0b799a view property added and implemented for android 2014-06-06 11:29:24 +03:00
df1d0923d1 first custom dialogs implementation 2014-06-06 10:01:33 +03:00
459e03d8ed Fixed wrong name. 2014-06-05 14:21:43 +03:00
14d76a8d2c dialogs for android implemented 2014-06-04 16:58:31 +03:00
c419fbdba4 alert promise changed to promise<void> 2014-06-04 08:09:36 +03:00
ae7705aa13 initial alert dialogs implementation for Android 2014-06-03 17:10:14 +03:00
8440509a48 dialogs module added with alert implementation for iOS 2014-06-03 15:11:49 +03:00