Commit Graph

9 Commits

Author SHA1 Message Date
Dietmar Maurer
763ec2ecf8 SafeDestroy: remove viewModel - it not flexible enough 2016-04-05 11:09:42 +02:00
Dietmar Maurer
5128596e98 remove unnecessary reference to confirmField 2016-04-05 06:34:13 +02:00
Emmanuel Kasper
7b572e6d2f SafeDestroy.js: allow to submit the form with Enter key
also set focus on the confirm field of the Destroy Window on display
2016-04-05 06:32:23 +02:00
Dietmar Maurer
16152937f8 reduce translation overhead 2016-04-04 16:59:52 +02:00
Dietmar Maurer
7667066d54 SafeDestroy: remove dead code
The cancel button was already removed.
2016-03-30 09:19:06 +02:00
Dietmar Maurer
bcecf28019 SafeDestroy.js: use modern ExtJS features
We now use the class config system, a View Model and a View Controller.
2016-03-30 09:07:32 +02:00
Dietmar Maurer
e1ffa9fcdc SafeDestroy.js: factor out common code 2016-03-29 10:27:40 +02:00
Dietmar Maurer
fd8a2eea60 cleanup: run emacs indent-region on SafeDestroy.js 2016-03-29 09:58:04 +02:00
Emmanuel Kasper
32f469f383 requires manual entering VM id before enabling the delete Button for VMs
suggested by a user in https://bugzilla.proxmox.com/show_bug.cgi?id=360#c7
similar to the way github handles the deleting of a repository

fixes: #360
2016-03-21 10:45:49 +01:00