feature/RVRNEXT-38-use-font-awesome #51
@ -97,7 +97,7 @@ var RVR = {
 | 
			
		||||
            RVR.showModalWithContent('Confirmation', this.dataset.confirmation, [
 | 
			
		||||
                {
 | 
			
		||||
                    type: 'button',
 | 
			
		||||
                    text: self.textContent,
 | 
			
		||||
                    html: this.dataset.confirmationButton ? this.dataset.confirmationButton : this.innerHTML,
 | 
			
		||||
                    classNames: ['red'],
 | 
			
		||||
                    onclick: function() {
 | 
			
		||||
                        var event = new Event('submit', {'bubbles': true, 'cancelable': true});
 | 
			
		||||
@ -147,7 +147,11 @@ var RVR = {
 | 
			
		||||
 | 
			
		||||
            button.classList.add('marginTop');
 | 
			
		||||
            button.classList.add('marginRight');
 | 
			
		||||
            if (typeof extraButton.html !== 'undefined') {
 | 
			
		||||
                button.innerHTML = extraButton.html;
 | 
			
		||||
            } else {
 | 
			
		||||
                button.textContent = extraButton.text;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            if (extraButton.type === 'a') {
 | 
			
		||||
                button.href = extraButton.href;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user