Commit Graph

25 Commits

Author SHA1 Message Date
Marc Delisle
1490533d91 [security] Self-XSS on database names (Operations/rename), see PMASA-2011-18 2011-11-21 18:08:49 -05:00
Marc Delisle
8f16bfbc53 Move common code into a function 2011-04-24 08:56:54 -04:00
Marc Delisle
401d211d70 - Avoid code duplication
- Use standard $ prefix for jQuery object
2011-04-02 06:22:18 -04:00
Tyron Madlener
0762bddfd1 Hide 'Loading' message once request is done, not on 5 sec timeout.
Applied to every loading message that doesn't show a success/error
feedback message.
2011-03-31 14:36:11 +02:00
Marc Delisle
3c573fc82e Conditional Ajax for other db operations 2011-01-29 10:32:56 -05:00
Marc Delisle
21fd381c84 Conditional Ajax on db rename
Remove extra wrapping of jQuery object
Avoid extra generation of hidden field
Improve confirmation message on db rename
2011-01-29 08:22:26 -05:00
Marc Delisle
251ecae49d Bug #3163256 Ajax copy database does not refresh the database list in case the "switch to copied database" option is not ticked 2011-01-24 06:20:26 -05:00
Marc Delisle
63a224b05a Bug #3163260 Database copy: Error hides too quickly 2011-01-23 07:34:50 -05:00
Marc Delisle
ac1bdef784 Remove unneeded wrapping of jQuery object
Avoid unneeded generating of hidden field
2011-01-23 07:18:09 -05:00
Marc Delisle
c63d6a59a1 Unneeded wrapping of a jQuery object 2010-12-30 07:45:15 -05:00
Aamir Khan
e78e42a31b Refresh navigation after copying database (bug #3081099, patch# 3091778). 2010-11-12 09:35:25 +01:00
Michal Čihař
0431042bd0 Drop $Id$ expansion, nobody complained so far it not working. 2010-09-07 15:00:44 +02:00
ninadsp
ee6bcb1b16 Added JSDoc-Toolkit compatible documentation to js/db_operations.js 2010-08-10 19:25:56 +05:30
ninadsp
7d3245cbcd Fixed the empty notice divison being generated when PMA_showMessage() was being passed a NULL query 2010-07-12 23:11:41 +05:30
ninadsp
e98edae53b Remove previous queries if any before inserting the latest query. We
don't want too many queries crowding up.
2010-07-11 00:14:12 +05:30
ninadsp
5677d17722 Include the query too if we are in an ajax request. 2010-06-30 01:16:49 +05:30
ninadsp
4f6339b6a4 We need to close the dialog when reloading the database after renaming
it.  The code did not do this, added it.
2010-06-30 00:28:45 +05:30
ninadsp
ca764244a0 Added localization strings for the jQueryUI dialog buttons. 2010-06-29 00:38:41 +05:30
ninadsp
a968b58d5c Now shows the sql query too when renaming a database. 2010-06-27 23:04:18 +05:30
ninadsp
dcdde2f99f Moved the jQuery script for handling Create Table action from
js/db_operations.js to js/functions.js as this action is used on
multiple pages.
2010-06-25 11:01:19 +05:30
ninadsp
217968fb92 Noticed a bug in the dialog close buttons. The html was not destroyed
after closing, so added a .remove() call everywhere.
2010-06-25 00:30:23 +05:30
ninadsp
dd1ec1c019 Fixed the issue with the content frame not refreshing after the 'Reload
Database? Y/N' dialog.
When copying the database, the database is now switched with JS.
Create Table action still a work in progress
2010-06-23 10:51:47 +05:30
ninadsp
a871eba302 Localised strings in js/db_operations.js 2010-06-22 11:32:45 +05:30
ninadsp
cb4c110074 Ajaxified Rename Database, Copy Database and Change database charset
actions.
2010-06-21 02:03:16 +05:30
ninadsp
d775f341a4 Added new js files for Ajax events on db_operations.php and
tbl_operations.php
2010-05-28 13:06:51 +05:30