Jonas Jenwald
7706cfa9fe
Log an error when the value passed to set currentPageNumber
is out of bounds (PR 7502 followup)
...
With PR 7502 we no longer dispatch an event when the `val` is out of bounds, so to better communicate why nothing happens this patch logs an error in that case (similar to the logging of errors when trying to set an invalid scale).
The way that the default viewer is currently implemented, means that e.g. keyboard short-cuts could trigger the new error. Hence this patch also adds the necessary validation code, both to `app.js` and `pdf_link_service.js` to prevent unnecessary errors.
2016-08-07 14:24:09 +02:00
..
2016-07-10 17:49:16 +08:00
2015-01-26 16:44:45 +01:00
2016-02-23 22:49:53 +01:00
2016-04-13 17:42:04 +02:00
2016-08-07 14:24:09 +02:00
2015-08-14 18:59:55 +02:00
2016-07-17 14:33:41 +02:00
2016-05-12 10:04:51 +02:00
2011-07-05 10:53:57 -07:00
2016-07-17 14:33:41 +02:00
2016-05-11 17:58:17 -05:00
2016-05-11 17:58:17 -05:00
2016-07-25 10:08:53 +02:00
2016-04-13 10:11:34 -05:00
2016-05-26 18:24:58 +05:00
2016-05-07 23:46:56 +02:00
2016-04-28 15:04:09 -05:00
2015-12-18 19:55:54 +01:00
2016-04-13 10:09:48 -05:00
2016-04-21 11:39:11 -05:00
2016-04-21 11:39:11 -05:00
2016-04-28 06:57:24 -05:00
2016-04-21 11:39:11 -05:00
2016-05-26 18:24:58 +05:00
2016-05-27 14:23:26 -05:00
2016-05-02 17:34:58 -05:00
2016-08-07 14:24:09 +02:00
2016-05-02 17:34:58 -05:00
2016-07-19 13:38:57 +02:00
2016-04-28 15:04:09 -05:00
2016-04-13 10:09:48 -05:00
2016-04-28 06:57:24 -05:00
2016-04-13 10:09:48 -05:00
2016-05-02 17:34:58 -05:00
2016-05-16 12:01:29 -05:00
2016-04-28 13:30:03 -05:00
2016-08-07 14:24:09 +02:00
2016-04-13 10:11:34 -05:00
2016-05-11 17:58:17 -05:00
2016-05-11 20:53:39 +02:00
2015-12-02 23:00:12 +01:00
2016-05-27 14:23:26 -05:00
2016-04-28 06:57:24 -05:00
2016-04-13 10:09:48 -05:00
2014-05-13 02:41:01 +02:00
2015-08-14 18:59:55 +02:00
2016-02-14 13:23:34 +01:00
2016-02-14 13:23:34 +01:00
2015-03-07 00:16:55 +01:00
2016-02-14 13:23:34 +01:00
2016-03-21 14:21:07 -07:00
2016-07-09 17:59:06 +02:00
2016-06-29 15:19:28 +02:00