mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
bug fixes
This commit is contained in:
parent
0424853f4a
commit
9729f4712e
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,6 +1,7 @@
|
||||
/app/config/staging
|
||||
/app/config/development
|
||||
/app/config/fortrabbit
|
||||
/app/config/ubuntu
|
||||
/app/config/packages/anahkiasen/rocketeer/
|
||||
/app/storage
|
||||
/public/logo
|
||||
@ -14,3 +15,5 @@ composer.phar
|
||||
Thumbs.db
|
||||
app.yaml
|
||||
database.sql
|
||||
ninja.sublime-project
|
||||
ninja.sublime-workspace
|
@ -61,7 +61,6 @@ Route::get('/', function() {
|
||||
|
||||
Route::get('/rocksteady', 'HomeController@showWelcome');
|
||||
|
||||
|
||||
Route::get('log_error', 'HomeController@logError');
|
||||
Route::post('get_started', 'AccountController@getStarted');
|
||||
|
||||
|
@ -608,7 +608,7 @@
|
||||
if (!doc) return;
|
||||
var string = doc.output('datauristring');
|
||||
|
||||
if (isFirefox || isChrome) {
|
||||
if (isFirefox || (isChrome && !isChromium)) {
|
||||
$('#theFrame').attr('src', string).show();
|
||||
} else {
|
||||
if (isRefreshing) {
|
||||
|
@ -38,7 +38,7 @@
|
||||
if (!doc) return;
|
||||
var string = doc.output('datauristring');
|
||||
|
||||
if (isFirefox || isChrome) {
|
||||
if (isFirefox || (isChrome && !isChromium)) {
|
||||
$('#theFrame').attr('src', string).show();
|
||||
} else {
|
||||
var pdfAsArray = convertDataURIToBinary(string);
|
||||
|
@ -17,5 +17,8 @@
|
||||
"typeahead.js": "~0.9.3",
|
||||
"accounting": "~0.*",
|
||||
"pdfjs": "*"
|
||||
},
|
||||
"resolutions": {
|
||||
"jquery": "~1.*"
|
||||
}
|
||||
}
|
||||
|
@ -3,8 +3,8 @@ var isOpera = !!window.opera || navigator.userAgent.indexOf(' OPR/') >= 0;
|
||||
var isFirefox = typeof InstallTrigger !== 'undefined'; // Firefox 1.0+
|
||||
var isSafari = Object.prototype.toString.call(window.HTMLElement).indexOf('Constructor') > 0;
|
||||
var isChrome = !!window.chrome && !isOpera; // Chrome 1+
|
||||
var isChromium = isChrome && navigator.userAgent.indexOf('Chromium') >= 0;
|
||||
var isIE = /*@cc_on!@*/false || !!document.documentMode; // At least IE6
|
||||
|
||||
var NINJA = {};
|
||||
|
||||
function generatePDF(invoice, checkMath) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user