can3p (can3p) wrote in changelog,
can3p
can3p
changelog

[livejournal] r21641: LJSUP-11722: Incorrect work pop-up windo...

Committer: dpetrov
LJSUP-11722: Incorrect work pop-up window when connect to Trava
U   trunk/htdocs/js/settings.js
Modified: trunk/htdocs/js/settings.js
===================================================================
--- trunk/htdocs/js/settings.js	2012-04-05 06:48:51 UTC (rev 21640)
+++ trunk/htdocs/js/settings.js	2012-04-05 08:21:56 UTC (rev 21641)
@@ -9,7 +9,7 @@
 		confirm_msg: LiveJournal.getLocalizedStr('.form.confirm', null, 'Save your changes?'),
 		form_changed: false,
 		navclickSave: function(e) {
-			if (!Settings.form_changed || e.isDefaultPrevented()) {
+			if (!Settings.form_changed || e.isDefaultPrevented() || this.target === '_blank') {
 				return;
 			}
 
@@ -93,6 +93,7 @@
 	musicSelect.bind('change', onChangesMusic);
 
 	travaElement.trava({
+			searchControl: false,
 			uid: UID
 		})
 		.bind('travalogin', function (evt, data) {
@@ -157,4 +158,4 @@
 
 LiveJournal.register_hook('page_load', function () {
 	LiveJournal.run_hook('init_settings', jQuery);
-});
\ No newline at end of file
+});

Tags: can3p, dpetrov, js, livejournal
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments