mediawiki-extensions-Visual.../modules/ve-mw/ui
James D. Forrester 74332f7a21 Only replace meta-data from dialog if it has changed
Previously we had a defaultSortKeyChanged value that lied - it was
possible for the value to be changed A -> B -> A by the user mid-
edit. However, the meta dialog assumed that defaultSortKeyChanged
wasn't lying, so blindly changed the meta item to the new value,
causing an unnecessary meta change if the user had done a no-op.

Now the value is renamed to defaultSortKeyTouched, and we actually
detect for content changes, and only change the meta item if a
change is actually needed (be that a removal, a replacement, or an
insertion).

Change-Id: I13022090bd7561a460a1151013e2b7d2a029f4dd
2013-11-18 14:13:15 +05:30
..
dialogs Only replace meta-data from dialog if it has changed 2013-11-18 14:13:15 +05:30
inspectors Window refactor 2013-11-08 12:33:25 -08:00
styles Split oojs-ui from ve.ui 2013-10-28 22:40:08 -07:00
tools Window refactor 2013-11-08 12:33:25 -08:00
widgets Rename this.$ to this.$element, and this.$$ to this.$ 2013-11-03 23:03:49 -08:00
ve.ui.MWDialog.js Window refactor 2013-11-08 12:33:25 -08:00