Ticket #31687: 31687.1.diff
File 31687.1.diff, 827 bytes (added by , 10 years ago) |
---|
-
wp-admin/js/customize-controls.js
1929 1929 1930 1930 this.query = $.extend( params.query || {}, { customize_messenger_channel: this.channel() }); 1931 1931 1932 // This avoids SecurityErrors when setting a window object in x-origin iframe'd scenarios 1933 this.targetWindow.set = function( to ) { 1934 var from = this._value; 1935 1936 to = this._setter.apply( this, arguments ); 1937 to = this.validate( to ); 1938 1939 if ( null === to || from === to ) { 1940 return this; 1941 } 1942 1943 this._value = to; 1944 this._dirty = true; 1945 1946 this.callbacks.fireWith( this, [ to, from ] ); 1947 1948 return this; 1949 }; 1950 1932 1951 this.run( deferred ); 1933 1952 }, 1934 1953